aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/make-docfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/make-docfile.c')
-rw-r--r--lib-src/make-docfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 51c30f91d8f..4b5012902a0 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -70,6 +70,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
70int scan_file (char *filename); 70int scan_file (char *filename);
71int scan_lisp_file (char *filename, char *mode); 71int scan_lisp_file (char *filename, char *mode);
72int scan_c_file (char *filename, char *mode); 72int scan_c_file (char *filename, char *mode);
73void fatal (char *s1, char *s2) NO_RETURN;
73 74
74#ifdef MSDOS 75#ifdef MSDOS
75/* s/msdos.h defines this as sys_chdir, but we're not linking with the 76/* s/msdos.h defines this as sys_chdir, but we're not linking with the
@@ -488,7 +489,7 @@ write_c_args (FILE *out, char *func, char *buf, int minargs, int maxargs)
488 489
489 /* In C code, `default' is a reserved word, so we spell it 490 /* In C code, `default' is a reserved word, so we spell it
490 `defalt'; unmangle that here. */ 491 `defalt'; unmangle that here. */
491 if (strncmp (ident_start, "defalt", ident_length) == 0) 492 if (ident_length == 6 && strncmp (ident_start, "defalt", 6) == 0)
492 fprintf (out, "DEFAULT"); 493 fprintf (out, "DEFAULT");
493 else 494 else
494 while (ident_length-- > 0) 495 while (ident_length-- > 0)