[Mesa-dev] [PATCH 2/2] loader: silence declarations after code warning

Brian Paul brianp at vmware.com
Mon Aug 4 12:16:21 PDT 2014


Remove the semicolon from the macro.  All the instances of the
macro end with a semicolon already.
---
 src/loader/loader.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/loader/loader.c b/src/loader/loader.c
index 47e1f58..b159c51 100644
--- a/src/loader/loader.c
+++ b/src/loader/loader.c
@@ -146,7 +146,7 @@ checked_dlsym(void *dlopen_handle, const char *name)
 }
 
 #define UDEV_SYMBOL(ret, name, args) \
-   ret (*name) args = checked_dlsym(udev_dlopen_handle(), #name);
+   ret (*name) args = checked_dlsym(udev_dlopen_handle(), #name)
 
 
 static inline struct udev_device *
-- 
1.7.10.4



More information about the mesa-dev mailing list