Browse files

Fix compiler warning

libscdl.c: In function 'sc_dlerror':
libscdl.c:86: warning: old-style function definition
  • Loading branch information...
1 parent ce2d3c0 commit d3c13fd4713ccf0788a8d6d0c80de117dc16d71a @LudovicRousseau LudovicRousseau committed Jun 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/common/libscdl.c
View
2 src/common/libscdl.c
@@ -83,7 +83,7 @@ void *sc_dlsym(void *handle, const char *symbol)
return dlsym(handle, symbol);
}
-const char *sc_dlerror()
+const char *sc_dlerror(void)
{
return dlerror();
}

0 comments on commit d3c13fd

Please sign in to comment.