summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_device.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-04-22 19:34:19 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-04-22 19:34:59 -0400
commit4e7549683b274b5c1f86122d9a036b948e417b98 (patch)
tree8798b16e82fc1fc55557ba794ff449de2abb5acb /src/lib/ecore_drm/ecore_drm_device.c
parent3571e7364eb4fa40769c9e897d8d48bde9272b4b (diff)
ecore-drm: fix ecore_drm_devices_get() to return a const value
this is the internal device list, we're pretty hosed if someone decides to free it because there's no const
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_device.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c
index 6eaf4181aa..f0908e2714 100644
--- a/src/lib/ecore_drm/ecore_drm_device.c
+++ b/src/lib/ecore_drm/ecore_drm_device.c
@@ -353,7 +353,7 @@ ecore_drm_device_close(Ecore_Drm_Device *dev)
353 return EINA_TRUE; 353 return EINA_TRUE;
354} 354}
355 355
356EAPI Eina_List * 356EAPI const Eina_List *
357ecore_drm_devices_get(void) 357ecore_drm_devices_get(void)
358{ 358{
359 return drm_devices; 359 return drm_devices;