]> git.eshelyaron.com Git - emacs.git/commitdiff
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 ae1b9e773a2263fc0b62d09659502363d11dae0c..0df53250d7ee31d800bb950edcd43cc37943bf09 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 e25ae25f64c6c8c125cfb63b5a3376af20e2881f..540bfaac25c13e0cf8c6c7c29f3c009cfc818afd 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 d78b556d8c9954dafde7f7a5f4a9ea41ba8c993e..c091fea045e417594753f1757fd92c514b0a4692 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) {                                     \