aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-07-02 15:18:28 -0700
committerDan Nicolaescu2010-07-02 15:18:28 -0700
commitc532d349630038c45897e88004a8142a82e9dc85 (patch)
treec47cf7e54a4f959892f323a172090405b6d7221a /lib-src
parentb6fcccc3ea3425e613afce804143e3dd0a6eee6e (diff)
downloademacs-c532d349630038c45897e88004a8142a82e9dc85.tar.gz
emacs-c532d349630038c45897e88004a8142a82e9dc85.zip
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/ChangeLog6
-rw-r--r--lib-src/b2m.c9
-rw-r--r--lib-src/make-docfile.c6
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 @@
12010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
4 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
5 standard C prototypes.
6
12010-07-02 Jan Djärv <jan.h.d@swipnet.se> 72010-07-02 Jan Djärv <jan.h.d@swipnet.se>
2 8
3 * ebrowse.c: Remove P_ and __P. 9 * 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
66 66
67extern char *strtok(); 67extern char *strtok();
68 68
69long *xmalloc (), *xrealloc (); 69long *xmalloc (unsigned int size);
70char *concat (); 70long *xrealloc (char *ptr, unsigned int size);
71long readline (); 71char *concat (char *s1, char *s2, char *s3);
72void fatal (); 72long readline (struct linebuffer *linebuffer, register FILE *stream);
73void fatal (char *message);
73 74
74/* 75/*
75 * xnew -- allocate storage. SYNOPSIS: Type *xnew (int n, Type); 76 * 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/>. */
67#define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP) 67#define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP)
68#endif 68#endif
69 69
70int scan_file (); 70int scan_file (char *filename);
71int scan_lisp_file (); 71int scan_lisp_file (char *filename, char *mode);
72int scan_c_file (); 72int scan_c_file (char *filename, char *mode);
73 73
74#ifdef MSDOS 74#ifdef MSDOS
75/* s/msdos.h defines this as sys_chdir, but we're not linking with the 75/* s/msdos.h defines this as sys_chdir, but we're not linking with the