emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

minor cleanup of src/lisp.h ?


From: Giorgos Keramidas
Subject: minor cleanup of src/lisp.h ?
Date: Mon, 27 Feb 2006 13:54:36 +0200

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);
%





reply via email to

[Prev in Thread] Current Thread [Next in Thread]