diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-02 15:18:28 -0700 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-02 15:18:28 -0700 |
commit | c532d349630038c45897e88004a8142a82e9dc85 (patch) | |
tree | c47cf7e54a4f959892f323a172090405b6d7221a /lib-src | |
parent | b6fcccc3ea3425e613afce804143e3dd0a6eee6e (diff) | |
download | emacs-c532d349630038c45897e88004a8142a82e9dc85.tar.gz |
Convert some prototypes to standard C.
* lib-src/make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
* lib-src/b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
standard C prototypes.
* src/term.c (term_clear_mouse_face, Fidentity):
* src/syssignal.h (signal_handler_t):
* src/lisp.h (memory_warnings):
* src/coding.h (preferred_coding_system):
* src/cm.h (evalcost):
* src/blockinput.h (reinvoke_input_signal): Convert to standard C prototypes.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 6 | ||||
-rw-r--r-- | lib-src/b2m.c | 9 | ||||
-rw-r--r-- | lib-src/make-docfile.c | 6 |
3 files changed, 14 insertions, 7 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 4ef56c976cf..32da17388f3 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,9 @@ +2010-07-02 Dan Nicolaescu <dann@ics.uci.edu> + + * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal): + * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to + standard C prototypes. + 2010-07-02 Jan Djärv <jan.h.d@swipnet.se> * ebrowse.c: Remove P_ and __P. diff --git a/lib-src/b2m.c b/lib-src/b2m.c index 7de48e6a522..2741a984093 100644 --- a/lib-src/b2m.c +++ b/lib-src/b2m.c @@ -66,10 +66,11 @@ struct linebuffer extern char *strtok(); -long *xmalloc (), *xrealloc (); -char *concat (); -long readline (); -void fatal (); +long *xmalloc (unsigned int size); +long *xrealloc (char *ptr, unsigned int size); +char *concat (char *s1, char *s2, char *s3); +long readline (struct linebuffer *linebuffer, register FILE *stream); +void fatal (char *message); /* * xnew -- allocate storage. SYNOPSIS: Type *xnew (int n, Type); diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index eb15342ca5b..973c7e31f70 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c @@ -67,9 +67,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP) #endif -int scan_file (); -int scan_lisp_file (); -int scan_c_file (); +int scan_file (char *filename); +int scan_lisp_file (char *filename, char *mode); +int scan_c_file (char *filename, char *mode); #ifdef MSDOS /* s/msdos.h defines this as sys_chdir, but we're not linking with the |