summaryrefslogtreecommitdiff
path: root/src/w32menu.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2010-10-14 03:33:31 +0200
committerJuanma Barranquero <lekktu@gmail.com>2010-10-14 03:33:31 +0200
commit24f981c9f4e15f42d4b569919297c4781a6fc51d (patch)
tree50dd4e6dff3ffc36c03aee6a8576b3e0f548fbf8 /src/w32menu.c
parent63698bec58d9de504f08d161694058248d6c1d3e (diff)
downloademacs-24f981c9f4e15f42d4b569919297c4781a6fc51d.tar.gz
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.
Diffstat (limited to 'src/w32menu.c')
-rw-r--r--src/w32menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32menu.c b/src/w32menu.c
index 0ed9bffe70c..6e7da5ad577 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -106,6 +106,7 @@ static Lisp_Object simple_dialog_show (FRAME_PTR, Lisp_Object, Lisp_Object);
#endif
static void utf8to16 (unsigned char *, int, WCHAR *);
+static int fill_in_menu (HMENU, widget_value *);
void w32_free_menu_strings (HWND);
@@ -1568,7 +1569,7 @@ add_menu_item (HMENU menu, widget_value *wv, HMENU item)
}
/* Construct native Windows menu(bar) based on widget_value tree. */
-int
+static int
fill_in_menu (HMENU menu, widget_value *wv)
{
int items_added = 0;