diff options
| author | Dan Nicolaescu | 2010-07-02 15:18:28 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-07-02 15:18:28 -0700 |
| commit | c532d349630038c45897e88004a8142a82e9dc85 (patch) | |
| tree | c47cf7e54a4f959892f323a172090405b6d7221a /lib-src | |
| parent | b6fcccc3ea3425e613afce804143e3dd0a6eee6e (diff) | |
| download | emacs-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/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 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-07-02 Jan Djärv <jan.h.d@swipnet.se> | 7 | 2010-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 | ||
| 67 | extern char *strtok(); | 67 | extern char *strtok(); |
| 68 | 68 | ||
| 69 | long *xmalloc (), *xrealloc (); | 69 | long *xmalloc (unsigned int size); |
| 70 | char *concat (); | 70 | long *xrealloc (char *ptr, unsigned int size); |
| 71 | long readline (); | 71 | char *concat (char *s1, char *s2, char *s3); |
| 72 | void fatal (); | 72 | long readline (struct linebuffer *linebuffer, register FILE *stream); |
| 73 | void 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 | ||
| 70 | int scan_file (); | 70 | int scan_file (char *filename); |
| 71 | int scan_lisp_file (); | 71 | int scan_lisp_file (char *filename, char *mode); |
| 72 | int scan_c_file (); | 72 | int 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 |