aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab1997-11-21 12:54:36 +0000
committerAndreas Schwab1997-11-21 12:54:36 +0000
commitd5b28a9d9b028ba9d35ef1f2aa96b524d980dfdf (patch)
tree508a821e70c895f6e15689b411fc6a69d0d20976 /src
parent526a2be77bff3e4aee77513de2ba0cc405ab42b5 (diff)
downloademacs-d5b28a9d9b028ba9d35ef1f2aa96b524d980dfdf.tar.gz
emacs-d5b28a9d9b028ba9d35ef1f2aa96b524d980dfdf.zip
(read1): Declare `workbuf' as unsigned char.
(dir_warning): Define as returning nothing. (init_lread): Likewise. (mapatoms_1): Likewise. (map_obarray): Fix type of parameter FN.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lread.c b/src/lread.c
index 725ebef4a0b..3f6ca0ed272 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1652,8 +1652,8 @@ read1 (readcharfun, pch, first_in_list)
1652 c = read_escape (readcharfun); 1652 c = read_escape (readcharfun);
1653 if (! SINGLE_BYTE_CHAR_P ((c & ~CHAR_META))) 1653 if (! SINGLE_BYTE_CHAR_P ((c & ~CHAR_META)))
1654 { 1654 {
1655 char workbuf[4]; 1655 unsigned char workbuf[4];
1656 char *str = workbuf; 1656 unsigned char *str = workbuf;
1657 int length; 1657 int length;
1658 1658
1659 length = non_ascii_char_to_string (c, workbuf, &str); 1659 length = non_ascii_char_to_string (c, workbuf, &str);
@@ -2296,7 +2296,7 @@ hash_string (ptr, len)
2296void 2296void
2297map_obarray (obarray, fn, arg) 2297map_obarray (obarray, fn, arg)
2298 Lisp_Object obarray; 2298 Lisp_Object obarray;
2299 int (*fn) (); 2299 void (*fn) P_ ((Lisp_Object, Lisp_Object));
2300 Lisp_Object arg; 2300 Lisp_Object arg;
2301{ 2301{
2302 register int i; 2302 register int i;
@@ -2316,6 +2316,7 @@ map_obarray (obarray, fn, arg)
2316 } 2316 }
2317} 2317}
2318 2318
2319void
2319mapatoms_1 (sym, function) 2320mapatoms_1 (sym, function)
2320 Lisp_Object sym, function; 2321 Lisp_Object sym, function;
2321{ 2322{
@@ -2514,6 +2515,7 @@ defvar_kboard (namestring, offset)
2514 so we can see if the site changed it later during dumping. */ 2515 so we can see if the site changed it later during dumping. */
2515static Lisp_Object dump_path; 2516static Lisp_Object dump_path;
2516 2517
2518void
2517init_lread () 2519init_lread ()
2518{ 2520{
2519 char *normal; 2521 char *normal;
@@ -2687,6 +2689,7 @@ init_lread ()
2687/* Print a warning, using format string FORMAT, that directory DIRNAME 2689/* Print a warning, using format string FORMAT, that directory DIRNAME
2688 does not exist. Print it on stderr and put it in *Message*. */ 2690 does not exist. Print it on stderr and put it in *Message*. */
2689 2691
2692void
2690dir_warning (format, dirname) 2693dir_warning (format, dirname)
2691 char *format; 2694 char *format;
2692 Lisp_Object dirname; 2695 Lisp_Object dirname;