aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2010-08-06 02:16:24 +0200
committerJuanma Barranquero2010-08-06 02:16:24 +0200
commita11889abf9abb4ef7e454cf970247c9a1b88b78b (patch)
treed7a6da080c68a18ca15616c6a35df1dfbe7faa50 /src
parentae877222c5af8c0d670adec1b68f4ad18f8466a2 (diff)
downloademacs-a11889abf9abb4ef7e454cf970247c9a1b88b78b.tar.gz
emacs-a11889abf9abb4ef7e454cf970247c9a1b88b78b.zip
Fix changes in 2010-08-05T23:15:24Z!dann@ics.uci.edu..2010-08-05T23:34:12Z!dann@ics.uci.edu for Windows build.
* dired.c (compile_pattern): * syssignal.h (signal_handler_t): Restore declarations. * w32font.c (Qlatin): Remove declaration. * menu.h (xmalloc_widget_value, digest_single_submenu): Declare. * xmenu.c [USE_X_TOOLKIT || USE_GTK]: Don't declare xmalloc_widget_value and digest_single_submenu.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog14
-rw-r--r--src/dired.c5
-rw-r--r--src/menu.h2
-rw-r--r--src/w32font.c2
-rw-r--r--src/xmenu.c5
5 files changed, 22 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 21e2f3813fd..53b533863ea 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,17 @@
12010-08-06 Juanma Barranquero <lekktu@gmail.com>
2
3 Fix changes in 2010-08-05T23:15:24Z!dann@ics.uci.edu..2010-08-05T23:34:12Z!dann@ics.uci.edu for Windows build.
4
5 * xmenu.c [USE_X_TOOLKIT || USE_GTK]:
6 Don't declare xmalloc_widget_value and digest_single_submenu.
7
8 * w32font.c (Qlatin): Remove declaration.
9
10 * menu.h (xmalloc_widget_value, digest_single_submenu): Declare.
11
12 * dired.c (compile_pattern):
13 * syssignal.h (signal_handler_t): Restore declarations.
14
12010-08-05 Dan Nicolaescu <dann@ics.uci.edu> 152010-08-05 Dan Nicolaescu <dann@ics.uci.edu>
2 16
3 Remove extern declarations in .c files, .h files have them. 17 Remove extern declarations in .c files, .h files have them.
diff --git a/src/dired.c b/src/dired.c
index 67f1ad3537a..5bb3f27013c 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -82,6 +82,11 @@ extern struct direct *readdir (DIR *);
82#include "regex.h" 82#include "regex.h"
83#include "blockinput.h" 83#include "blockinput.h"
84 84
85/* Returns a search buffer, with a fastmap allocated and ready to go. */
86extern struct re_pattern_buffer *compile_pattern (Lisp_Object,
87 struct re_registers *,
88 Lisp_Object, int, int);
89
85/* From filemode.c. Can't go in Lisp.h because of `stat'. */ 90/* From filemode.c. Can't go in Lisp.h because of `stat'. */
86extern void filemodestring (struct stat *, char *); 91extern void filemodestring (struct stat *, char *);
87 92
diff --git a/src/menu.h b/src/menu.h
index eff6f5ddf70..99ae43fe452 100644
--- a/src/menu.h
+++ b/src/menu.h
@@ -32,6 +32,8 @@ extern void free_menubar_widget_value_tree (widget_value *);
32extern void update_submenu_strings (widget_value *); 32extern void update_submenu_strings (widget_value *);
33extern void find_and_call_menu_selection (FRAME_PTR, int, 33extern void find_and_call_menu_selection (FRAME_PTR, int,
34 Lisp_Object, void *); 34 Lisp_Object, void *);
35extern widget_value *xmalloc_widget_value (void);
36extern widget_value *digest_single_submenu (int, int, int);
35#endif 37#endif
36 38
37#ifdef HAVE_X_WINDOWS 39#ifdef HAVE_X_WINDOWS
diff --git a/src/w32font.c b/src/w32font.c
index d1375d58507..46fca5d78d5 100644
--- a/src/w32font.c
+++ b/src/w32font.c
@@ -72,7 +72,7 @@ static Lisp_Object Qstandard, Qsubpixel, Qnatural;
72static Lisp_Object Qzh; 72static Lisp_Object Qzh;
73 73
74/* scripts */ 74/* scripts */
75static Lisp_Object Qlatin, Qgreek, Qcoptic, Qcyrillic, Qarmenian, Qhebrew; 75static Lisp_Object Qgreek, Qcoptic, Qcyrillic, Qarmenian, Qhebrew;
76static Lisp_Object Qarabic, Qsyriac, Qnko, Qthaana, Qdevanagari, Qbengali; 76static Lisp_Object Qarabic, Qsyriac, Qnko, Qthaana, Qdevanagari, Qbengali;
77static Lisp_Object Qgurmukhi, Qgujarati, Qoriya, Qtamil, Qtelugu; 77static Lisp_Object Qgurmukhi, Qgujarati, Qoriya, Qtamil, Qtelugu;
78static Lisp_Object Qkannada, Qmalayalam, Qsinhala, Qthai, Qlao; 78static Lisp_Object Qkannada, Qmalayalam, Qsinhala, Qthai, Qlao;
diff --git a/src/xmenu.c b/src/xmenu.c
index a723e6389ef..0b24a8f2bd6 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -122,11 +122,6 @@ static int popup_activated_flag;
122 122
123static int next_menubar_widget_id; 123static int next_menubar_widget_id;
124 124
125#if defined (USE_X_TOOLKIT) || defined (USE_GTK)
126extern widget_value *xmalloc_widget_value (void);
127extern widget_value *digest_single_submenu (int, int, int);
128#endif
129
130 125
131#ifdef USE_X_TOOLKIT 126#ifdef USE_X_TOOLKIT
132 127