* Re: [Emacs-diffs] /srv/bzr/emacs/trunk r100984: Remove extern declarations in .c files, .h files have them.
[not found] <E1OhAeD-0004Dk-Lq@internal.in.savannah.gnu.org>
@ 2010-08-06 0:39 ` Juanma Barranquero
0 siblings, 0 replies; only message in thread
From: Juanma Barranquero @ 2010-08-06 0:39 UTC (permalink / raw
To: Dan Nicolaescu; +Cc: emacs-devel
> -/* Returns a search buffer, with a fastmap allocated and ready to go. */
> -extern struct re_pattern_buffer *compile_pattern (Lisp_Object, struct re_registers *, Lisp_Object, int, int);
> -
I've reverted this bit because compile_pattern is not in any .h file,
so it caused a warning.
> -/* For NS and NTGUI, these prototypes are defined in keyboard.h. */
> #if defined (USE_X_TOOLKIT) || defined (USE_GTK)
> extern widget_value *xmalloc_widget_value (void);
> extern widget_value *digest_single_submenu (int, int, int);
There were not on menu.h, so I've moved the declaration there and
removed it from here.
Juanma
^ permalink raw reply [flat|nested] only message in thread