all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* minor cleanup of src/lisp.h ?
@ 2006-02-27 11:54 Giorgos Keramidas
  0 siblings, 0 replies; only message in thread
From: Giorgos Keramidas @ 2006-02-27 11:54 UTC (permalink / raw)


Hi all,

I've found a few duplicate C function prototypes in src/lisp.h which we
can probably remove safely, and a duplicate prototype for getloadavg()
which may also conflict with the system prototype of the same function.

The following diff shows the duplicate prototypes:

% Index: emacs/src/lisp.h
% ===================================================================
% --- emacs/src/lisp.h	(revision 66)
% +++ emacs/src/lisp.h	(working copy)
% @@ -2732,7 +2732,6 @@
%  EXFUN (Fformat, MANY);
%  EXFUN (Fmessage, MANY);
%  extern Lisp_Object format2 P_ ((char *, Lisp_Object, Lisp_Object));
% -extern Lisp_Object make_buffer_string P_ ((int, int, int));
%  EXFUN (Fbuffer_substring, 2);
%  EXFUN (Fbuffer_string, 0);
%  extern Lisp_Object save_excursion_save P_ ((void));
% @@ -2751,7 +2750,6 @@
%  extern Lisp_Object make_buffer_string_both P_ ((int, int, int, int, int));
%  extern void init_editfns P_ ((void));
%  extern void syms_of_editfns P_ ((void));
% -EXFUN (Fcurrent_message, 0);
%  extern Lisp_Object Vinhibit_field_text_motion;
%  EXFUN (Fconstrain_to_field, 5);
%  EXFUN (Ffield_string, 1);
% @@ -2849,7 +2847,6 @@
%  extern void report_file_error P_ ((const char *, Lisp_Object));
%  extern int internal_delete_file P_ ((Lisp_Object));
%  extern void syms_of_fileio P_ ((void));
% -EXFUN (Fmake_temp_name, 1);
%  extern void init_fileio_once P_ ((void));
%  extern Lisp_Object make_temp_name P_ ((Lisp_Object, int));
%  EXFUN (Fmake_symbolic_link, 3);
% @@ -3134,7 +3131,6 @@
%  extern void init_sigio P_ ((int));
%  extern void request_sigio P_ ((void));
%  extern void unrequest_sigio P_ ((void));
% -extern void reset_sys_modes P_ ((void));
%  extern void sys_subshell P_ ((void));
%  extern void sys_suspend P_ ((void));
%  extern void discard_tty_input P_ ((void));
% @@ -3192,8 +3188,10 @@
%  /* Defined in xfaces.c */
%  extern void syms_of_xfaces P_ ((void));
%
% +#ifndef HAVE_GETLOADAVG
%  /* Defined in getloadavg.c */
%  extern int getloadavg P_ ((double *, int));
% +#endif
%
%  #ifdef HAVE_X_WINDOWS
%  /* Defined in xfns.c */
% @@ -3214,9 +3212,6 @@
%  /* Defined in xterm.c */
%  extern void syms_of_xterm P_ ((void));
%
% -/* Defined in getloadavg.c */
% -extern int getloadavg P_ ((double [], int));
% -
%  #ifdef MSDOS
%  /* Defined in msdos.c */
%  EXFUN (Fmsdos_downcase_filename, 1);
%

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-27 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-27 11:54 minor cleanup of src/lisp.h ? Giorgos Keramidas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.