src/gnutls.c, src/image.c: Make function pointers static.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 6 May 2011 01:05:25 +0000 (03:05 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 6 May 2011 01:05:25 +0000 (03:05 +0200)
src/ChangeLog
src/gnutls.c
src/image.c

index ae1b9e7..0df5325 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
+
+       * gnutls.c (DEF_GNUTLS_FN):
+       * image.c (DEF_IMGLIB_FN): Make function pointers static.
+
 2011-05-05  Andreas Schwab  <schwab@linux-m68k.org>
 
        * lread.c (lisp_file_lexically_bound_p): Stop scanning at end
index e25ae25..540bfaa 100644 (file)
@@ -64,7 +64,7 @@ static void gnutls_log_function2 (int, const char*, const char*);
 #ifdef WINDOWSNT
 
 /* Macro for defining functions that will be loaded from the GnuTLS DLL.  */
-#define DEF_GNUTLS_FN(rettype,func,args) rettype (FAR CDECL *fn_##func)args
+#define DEF_GNUTLS_FN(rettype,func,args) static rettype (FAR CDECL *fn_##func)args
 
 /* Macro for loading GnuTLS functions from the library.  */
 #define LOAD_GNUTLS_FN(lib,func) {                                     \
index d78b556..c091fea 100644 (file)
@@ -1892,7 +1892,7 @@ mark_image_cache (struct image_cache *c)
 #ifdef HAVE_NTGUI
 
 /* Macro for defining functions that will be loaded from image DLLs.  */
-#define DEF_IMGLIB_FN(rettype,func,args) rettype (FAR CDECL *fn_##func)args
+#define DEF_IMGLIB_FN(rettype,func,args) static rettype (FAR CDECL *fn_##func)args
 
 /* Macro for loading those image functions from the library.  */
 #define LOAD_IMGLIB_FN(lib,func) {                                     \