diff options
| author | Juanma Barranquero | 2011-05-06 03:05:25 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2011-05-06 03:05:25 +0200 |
| commit | dbdb9a7caedcc8e66a3064ebb362d9ac43f1eee2 (patch) | |
| tree | bd4aac59a83d50ac2cb3b8eafe2c86dd950e5d0d /src | |
| parent | 989681bbb6aa67dd27ec1552a6bef29e4b0b29ec (diff) | |
| download | emacs-dbdb9a7caedcc8e66a3064ebb362d9ac43f1eee2.tar.gz emacs-dbdb9a7caedcc8e66a3064ebb362d9ac43f1eee2.zip | |
src/gnutls.c, src/image.c: Make function pointers static.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/gnutls.c | 2 | ||||
| -rw-r--r-- | src/image.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ae1b9e773a2..0df53250d7e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-05-06 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * gnutls.c (DEF_GNUTLS_FN): | ||
| 4 | * image.c (DEF_IMGLIB_FN): Make function pointers static. | ||
| 5 | |||
| 1 | 2011-05-05 Andreas Schwab <schwab@linux-m68k.org> | 6 | 2011-05-05 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 7 | ||
| 3 | * lread.c (lisp_file_lexically_bound_p): Stop scanning at end | 8 | * lread.c (lisp_file_lexically_bound_p): Stop scanning at end |
diff --git a/src/gnutls.c b/src/gnutls.c index e25ae25f64c..540bfaac25c 100644 --- a/src/gnutls.c +++ b/src/gnutls.c | |||
| @@ -64,7 +64,7 @@ static void gnutls_log_function2 (int, const char*, const char*); | |||
| 64 | #ifdef WINDOWSNT | 64 | #ifdef WINDOWSNT |
| 65 | 65 | ||
| 66 | /* Macro for defining functions that will be loaded from the GnuTLS DLL. */ | 66 | /* Macro for defining functions that will be loaded from the GnuTLS DLL. */ |
| 67 | #define DEF_GNUTLS_FN(rettype,func,args) rettype (FAR CDECL *fn_##func)args | 67 | #define DEF_GNUTLS_FN(rettype,func,args) static rettype (FAR CDECL *fn_##func)args |
| 68 | 68 | ||
| 69 | /* Macro for loading GnuTLS functions from the library. */ | 69 | /* Macro for loading GnuTLS functions from the library. */ |
| 70 | #define LOAD_GNUTLS_FN(lib,func) { \ | 70 | #define LOAD_GNUTLS_FN(lib,func) { \ |
diff --git a/src/image.c b/src/image.c index d78b556d8c9..c091fea045e 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -1892,7 +1892,7 @@ mark_image_cache (struct image_cache *c) | |||
| 1892 | #ifdef HAVE_NTGUI | 1892 | #ifdef HAVE_NTGUI |
| 1893 | 1893 | ||
| 1894 | /* Macro for defining functions that will be loaded from image DLLs. */ | 1894 | /* Macro for defining functions that will be loaded from image DLLs. */ |
| 1895 | #define DEF_IMGLIB_FN(rettype,func,args) rettype (FAR CDECL *fn_##func)args | 1895 | #define DEF_IMGLIB_FN(rettype,func,args) static rettype (FAR CDECL *fn_##func)args |
| 1896 | 1896 | ||
| 1897 | /* Macro for loading those image functions from the library. */ | 1897 | /* Macro for loading those image functions from the library. */ |
| 1898 | #define LOAD_IMGLIB_FN(lib,func) { \ | 1898 | #define LOAD_IMGLIB_FN(lib,func) { \ |