diff src/w32fns.c @ 110975:e0ac9a58795e

src/w32*.c: Make functions static. * src/w32fns.c (w32_wnd_proc, file_dialog_callback): * src/w32font.c (w32_generic_family): * src/w32inevt.c (key_event): * src/w32menu.c (fill_in_menu): * src/w32proc.c (reader_thread, w32_executable_type, compare_env) (merge_and_sort_env, int_from_hex, enum_locale_fn, enum_codepage_fn): * src/w32term.c (w32_read_socket): Make static.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 14 Oct 2010 03:33:31 +0200
parents b1a96286ba6e
children b8fde5ef9e14
line wrap: on
line diff
--- a/src/w32fns.c	Thu Oct 14 01:17:30 2010 +0000
+++ b/src/w32fns.c	Thu Oct 14 03:33:31 2010 +0200
@@ -1900,7 +1900,7 @@
   return cursor;
 }
 
-extern LRESULT CALLBACK w32_wnd_proc (HWND, UINT, WPARAM, LPARAM);
+static LRESULT CALLBACK w32_wnd_proc (HWND, UINT, WPARAM, LPARAM);
 
 static BOOL
 w32_init_class (HINSTANCE hinst)
@@ -2672,7 +2672,7 @@
 
 /* Main window procedure */
 
-LRESULT CALLBACK
+static LRESULT CALLBACK
 w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
 {
   struct frame *f;
@@ -5903,7 +5903,7 @@
    read-only when "Directories" is selected in the filter.  This
    allows us to work around the fact that the standard Open File
    dialog does not support directories.  */
-UINT CALLBACK
+static UINT CALLBACK
 file_dialog_callback (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
 {
   if (msg == WM_NOTIFY)