aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Robert2008-07-16 23:24:46 +0000
committerAdrian Robert2008-07-16 23:24:46 +0000
commit122e9f8f29a92b6038b65a3b4f6ef31ad96e2cd5 (patch)
tree29e83f0a25f866bd8b885a5a811360dcf0eeeb87
parentcf7238adf9f3bcddb60d422c470b58605a1b8bad (diff)
downloademacs-122e9f8f29a92b6038b65a3b4f6ef31ad96e2cd5.tar.gz
emacs-122e9f8f29a92b6038b65a3b4f6ef31ad96e2cd5.zip
various small cleanups detailed in changelogs
-rw-r--r--ChangeLog6
-rw-r--r--configure.in16
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/Makefile.in9
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/startup.el10
-rw-r--r--nextstep/ChangeLog4
-rw-r--r--nextstep/Cocoa/Emacs.base/Contents/Resources/Credits.html2
-rw-r--r--nextstep/FOR-RELEASE3
-rw-r--r--src/ChangeLog9
-rw-r--r--src/Makefile.in12
-rw-r--r--src/frame.c2
-rw-r--r--src/keyboard.c15
-rw-r--r--src/syntax.c1
14 files changed, 55 insertions, 44 deletions
diff --git a/ChangeLog b/ChangeLog
index 6dce58cba97..bf8bfe83503 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
2
3 * configure.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
4 NS_IMPL_COCOA.
5 * configure: Regenerate.
6
12008-07-16 Glenn Morris <rgm@gnu.org> 72008-07-16 Glenn Morris <rgm@gnu.org>
2 8
3 * configure.in (with_kerberos, with_kerberos5, with_hesiod): 9 * configure.in (with_kerberos, with_kerberos5, with_hesiod):
diff --git a/configure.in b/configure.in
index e6db75750fc..94ffd228fcd 100644
--- a/configure.in
+++ b/configure.in
@@ -1221,17 +1221,17 @@ if test "${with_carbon}" != no; then
1221fi 1221fi
1222 1222
1223HAVE_NS=no 1223HAVE_NS=no
1224COCOA=no 1224NS_IMPL_COCOA=no
1225GNUSTEP=no 1225NS_IMPL_GNUSTEP=no
1226tmp_CPPFLAGS="$CPPFLAGS" 1226tmp_CPPFLAGS="$CPPFLAGS"
1227tmp_CFLAGS="$CFLAGS" 1227tmp_CFLAGS="$CFLAGS"
1228CPPFLAGS="$CPPFLAGS -x objective-c" 1228CPPFLAGS="$CPPFLAGS -x objective-c"
1229CFLAGS="$CFLAGS -x objective-c" 1229CFLAGS="$CFLAGS -x objective-c"
1230if test "${with_ns}" != no; then 1230if test "${with_ns}" != no; then
1231 if test "${opsys}" = darwin; then 1231 if test "${opsys}" = darwin; then
1232 COCOA=yes 1232 NS_IMPL_COCOA=yes
1233 elif test -f /etc/GNUstep/GNUstep.conf; then 1233 elif test -f /etc/GNUstep/GNUstep.conf; then
1234 GNUSTEP=yes 1234 NS_IMPL_GNUSTEP=yes
1235 GNUSTEP_SYSTEM_HEADERS="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_HEADERS)" 1235 GNUSTEP_SYSTEM_HEADERS="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_HEADERS)"
1236 GNUSTEP_SYSTEM_LIBRARIES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_LIBRARIES)" 1236 GNUSTEP_SYSTEM_LIBRARIES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_LIBRARIES)"
1237 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 1237 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
@@ -2062,13 +2062,13 @@ if test "${HAVE_NS}" = "yes"; then
2062 * ) ns_appdir=${ns_appdir_x} ;; 2062 * ) ns_appdir=${ns_appdir_x} ;;
2063 esac 2063 esac
2064 fi 2064 fi
2065 if test "${COCOA}" = "yes"; then 2065 if test "${NS_IMPL_COCOA}" = "yes"; then
2066 AC_DEFINE(NS_IMPL_COCOA, 1, [Define to 1 if you are using NS windowing under MacOS X.]) 2066 AC_DEFINE(NS_IMPL_COCOA, 1, [Define to 1 if you are using NS windowing under MacOS X.])
2067 fi 2067 fi
2068 if test "${EN_COCOA_EXPERIMENTAL_CTRL_G}" = "yes"; then 2068 if test "${EN_COCOA_EXPERIMENTAL_CTRL_G}" = "yes"; then
2069 AC_DEFINE(COCOA_EXPERIMENTAL_CTRL_G, 1, [Define to 1 if you are trying experimental enhanced Ctrl-g support using NS windowing under MacOS X.]) 2069 AC_DEFINE(COCOA_EXPERIMENTAL_CTRL_G, 1, [Define to 1 if you are trying experimental enhanced Ctrl-g support using NS windowing under MacOS X.])
2070 fi 2070 fi
2071 if test "${GNUSTEP}" = "yes"; then 2071 if test "${NS_IMPL_GNUSTEP}" = "yes"; then
2072 AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing under GNUstep.]) 2072 AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing under GNUstep.])
2073 fi 2073 fi
2074 # We also have mouse menus. 2074 # We also have mouse menus.
@@ -2637,10 +2637,10 @@ AH_BOTTOM([
2637# define LD_SWITCH_SITE -lgnustep-gui -lgnustep-base -lobjc $(CONFIG_SYSTEM_LIBS) -lpthread 2637# define LD_SWITCH_SITE -lgnustep-gui -lgnustep-base -lobjc $(CONFIG_SYSTEM_LIBS) -lpthread
2638# define GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE 2638# define GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE
2639# define OTHER_FILES ns-app 2639# define OTHER_FILES ns-app
2640# else /* COCOA */ 2640# else /* NS_IMPL_COCOA */
2641# define C_SWITCH_X_SYSTEM 2641# define C_SWITCH_X_SYSTEM
2642# define GNU_OBJC_CFLAGS 2642# define GNU_OBJC_CFLAGS
2643# endif /* COCOA */ 2643# endif /* NS_IMPL_COCOA */
2644#endif /* HAVE_NS */ 2644#endif /* HAVE_NS */
2645 2645
2646 2646
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 71f58090775..05bfc1934eb 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
2
3 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
4 NS_IMPL_COCOA.
5
12008-07-16 Dan Nicolaescu <dann@ics.uci.edu> 62008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw): Remove, 8 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw): Remove,
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 9b537ecfbea..482103ddeb3 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -144,7 +144,7 @@ MOVE_FLAGS=
144#define NOT_C_CODE 144#define NOT_C_CODE
145#include "../src/config.h" 145#include "../src/config.h"
146 146
147#if defined(COCOA) 147#if defined(NS_IMPL_COCOA)
148/* Build these programs as universal binaries. */ 148/* Build these programs as universal binaries. */
149CFLAGS := $(CFLAGS) -universal 149CFLAGS := $(CFLAGS) -universal
150/* Add mac-fix-env for OS X systems running NS version. */ 150/* Add mac-fix-env for OS X systems running NS version. */
@@ -278,14 +278,13 @@ BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
278 Using an explicit command made it work. */ 278 Using an explicit command made it work. */
279.c.o: 279.c.o:
280 ${CC} -c ${CPP_CFLAGS} $< 280 ${CC} -c ${CPP_CFLAGS} $<
281#ifdef HAVE_NS 281
282.m.o: 282.m.o:
283#ifdef GNUSTEP 283#ifdef NS_IMPL_GNUSTEP
284 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString $< 284 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString $<
285#else 285#else
286 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< 286 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
287#endif 287#endif
288#endif
289 288
290all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} 289all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
291 290
@@ -483,7 +482,7 @@ update-game-score.o: ${srcdir}/update-game-score.c ../src/config.h $(GETOPT_H)
483 $(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \ 482 $(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \
484 -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" 483 -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\""
485 484
486#if defined(COCOA) 485#if defined(NS_IMPL_COCOA)
487mac-fix-env: ${srcdir}/mac-fix-env.m 486mac-fix-env: ${srcdir}/mac-fix-env.m
488 $(CC) -o mac-fix-env ${srcdir}/mac-fix-env.m -prebind -framework Foundation 487 $(CC) -o mac-fix-env ${srcdir}/mac-fix-env.m -prebind -framework Foundation
489#endif 488#endif
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 513235108ed..3a975feb1f6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
2
3 * startup.el (command-line-1): Update processing of NS long options to
4 mimic recent changes to processing of X long options.
5
12008-07-16 Nick Roberts <nickrob@snap.net.nz> 62008-07-16 Nick Roberts <nickrob@snap.net.nz>
2 7
3 * progmodes/gdb-ui.el (gdb-create-define-alist): Don't create a 8 * progmodes/gdb-ui.el (gdb-create-define-alist): Don't create a
diff --git a/lisp/startup.el b/lisp/startup.el
index 33ad8a586cb..c426c6c2491 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -2087,12 +2087,10 @@ A fancy display is used on graphic displays, normal otherwise."
2087 (if (string-match "^--" (car tem)) 2087 (if (string-match "^--" (car tem))
2088 (push (list (car tem)) longopts))) 2088 (push (list (car tem)) longopts)))
2089 2089
2090 ;; Add the long NS options to longopts. 2090 ;; Add the long NS options to longopts.
2091 (setq tem command-line-ns-option-alist) 2091 (dolist (tem command-line-ns-option-alist)
2092 (while tem 2092 (if (string-match "^--" (car tem))
2093 (if (string-match "^--" (car (car tem))) 2093 (push (list (car tem)) longopts)))
2094 (setq longopts (cons (list (car (car tem))) longopts)))
2095 (setq tem (cdr tem)))
2096 2094
2097 ;; Loop, processing options. 2095 ;; Loop, processing options.
2098 (while command-line-args-left 2096 (while command-line-args-left
diff --git a/nextstep/ChangeLog b/nextstep/ChangeLog
index f0d9c3a5da7..6909f6a29f4 100644
--- a/nextstep/ChangeLog
+++ b/nextstep/ChangeLog
@@ -1,4 +1,8 @@
12008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> 12008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
2 * Cocoa/Contents/Resources/Credits.html: Change URL from sf.net to
3 GNU.org.
4
52008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
2 6
3 * FOR-RELEASE: Remove historical info. 7 * FOR-RELEASE: Remove historical info.
4 8
diff --git a/nextstep/Cocoa/Emacs.base/Contents/Resources/Credits.html b/nextstep/Cocoa/Emacs.base/Contents/Resources/Credits.html
index 8e7cdc676e3..c053cfadc3c 100644
--- a/nextstep/Cocoa/Emacs.base/Contents/Resources/Credits.html
+++ b/nextstep/Cocoa/Emacs.base/Contents/Resources/Credits.html
@@ -1,4 +1,4 @@
1<font face="lucida grande" size="-1"><a href="http://emacs-app.sf.net">http://emacs-app.sf.net</a></font> 1<font face="lucida grande" size="-1"><a href="http://www.gnu.org/software/emacs">http://www.gnu.org/software/emacs</a></font>
2 2
3<!-- arch-tag: cc455793-f594-45c6-822c-f4a7bb362c15 3<!-- arch-tag: cc455793-f594-45c6-822c-f4a7bb362c15
4 (do not change this comment) --> 4 (do not change this comment) -->
diff --git a/nextstep/FOR-RELEASE b/nextstep/FOR-RELEASE
index df02afc0d85..39be79946b0 100644
--- a/nextstep/FOR-RELEASE
+++ b/nextstep/FOR-RELEASE
@@ -1,9 +1,10 @@
1-*- outline -*- 1-*- outline -*-
2 2
3* BUGS 3* BUGS
4** Fix char_quoted's workaround.
5* NON-SPECIFIC 4* NON-SPECIFIC
6 5
6** Find out why char_quoted() in syntax.c gets called with Fix char_quoted's workaround.
7
7** Remove Feval calls relating to insert working text in isearch mode. 8** Remove Feval calls relating to insert working text in isearch mode.
8 9
9** free_frame_resources, face colors 10** free_frame_resources, face colors
diff --git a/src/ChangeLog b/src/ChangeLog
index 6351e0168f7..a47586e08c3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,12 @@
12008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
2
3 * syntax.c: Remove stdio.h include accidentally introduced in
4 Emacs.app commit.
5 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
6 NS_IMPL_COCOA.
7 * keyboard.c (handle_async_input, input_available_signal): Remove
8 BSD4_1 conditional code, introduced accidentally in Emacs.app commit.
9
12008-07-16 Stefan Monnier <monnier@iro.umontreal.ca> 102008-07-16 Stefan Monnier <monnier@iro.umontreal.ca>
2 11
3 * nsterm.m (lisp_to_mod): Use parse_solitary_modifier instead. 12 * nsterm.m (lisp_to_mod): Use parse_solitary_modifier instead.
diff --git a/src/Makefile.in b/src/Makefile.in
index 8f2c2f8805f..a715b83be28 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -113,7 +113,7 @@ SHELL=/bin/sh
113#endif 113#endif
114 114
115/* Under GNUstep, putting libc on the link line causes problems. */ 115/* Under GNUstep, putting libc on the link line causes problems. */
116#ifdef GNUSTEP 116#ifdef NS_IMPL_GNUSTEP
117#define LIB_STANDARD 117#define LIB_STANDARD
118#endif 118#endif
119 119
@@ -234,7 +234,7 @@ STARTFILES = START_FILES
234#endif /* not ORDINARY_LINK */ 234#endif /* not ORDINARY_LINK */
235 235
236 236
237#ifdef GNUSTEP 237#ifdef NS_IMPL_GNUSTEP
238/* Pull in stuff from GNUstep-make. */ 238/* Pull in stuff from GNUstep-make. */
239FOUNDATION_LIB=gnu 239FOUNDATION_LIB=gnu
240GUI_LIB=gnu 240GUI_LIB=gnu
@@ -535,13 +535,13 @@ emacsappsrc = ${srcdir}/../mac/Emacs.app/
535NS_OBJ= nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o \ 535NS_OBJ= nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o \
536 fontset.o fringe.o image.o 536 fontset.o fringe.o image.o
537emacsapp = $(PWD)/../nextstep/build/Emacs.app/ 537emacsapp = $(PWD)/../nextstep/build/Emacs.app/
538#ifdef GNUSTEP 538#ifdef NS_IMPL_GNUSTEP
539emacsappsrc = ${srcdir}/../nextstep/GNUstep/Emacs.base 539emacsappsrc = ${srcdir}/../nextstep/GNUstep/Emacs.base
540emacsbindir = $(emacsapp) 540emacsbindir = $(emacsapp)
541#else 541#else
542emacsappsrc = ${srcdir}/../nextstep/Cocoa/Emacs.base 542emacsappsrc = ${srcdir}/../nextstep/Cocoa/Emacs.base
543emacsbindir = $(emacsapp)/Contents/MacOS/ 543emacsbindir = $(emacsapp)/Contents/MacOS/
544#endif /* GNUSTEP */ 544#endif /* NS_IMPL_GNUSTEP */
545#endif /* HAVE_NS */ 545#endif /* HAVE_NS */
546 546
547#ifdef HAVE_WINDOW_SYSTEM 547#ifdef HAVE_WINDOW_SYSTEM
@@ -969,7 +969,7 @@ ${libsrc}make-docfile${EXEEXT}:
969 969
970temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_MACHINE prefix-args${EXEEXT} 970temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_MACHINE prefix-args${EXEEXT}
971 echo "${obj} ${otherobj} " OBJECTS_MACHINE > buildobj.lst 971 echo "${obj} ${otherobj} " OBJECTS_MACHINE > buildobj.lst
972#ifdef GNUSTEP 972#ifdef NS_IMPL_GNUSTEP
973 $(CC) -rdynamic YMF_PASS_LDFLAGS (${TEMACS_LDFLAGS}) -o temacs ${obj} ${otherobj} OBJECTS_MACHINE ${LIBES} 973 $(CC) -rdynamic YMF_PASS_LDFLAGS (${TEMACS_LDFLAGS}) -o temacs ${obj} ${otherobj} OBJECTS_MACHINE ${LIBES}
974#else 974#else
975 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \ 975 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \
@@ -1355,7 +1355,7 @@ mostlyclean:
1355 rm -f buildobj.lst 1355 rm -f buildobj.lst
1356clean: mostlyclean 1356clean: mostlyclean
1357 rm -f emacs-*.*.*${EXEEXT} emacs${EXEEXT} 1357 rm -f emacs-*.*.*${EXEEXT} emacs${EXEEXT}
1358#ifdef GNUSTEP 1358#ifdef NS_IMPL_GNUSTEP
1359 rm -f *.d 1359 rm -f *.d
1360#endif 1360#endif
1361/* bootstrap-clean is used to clean up just before a bootstrap. 1361/* bootstrap-clean is used to clean up just before a bootstrap.
diff --git a/src/frame.c b/src/frame.c
index d297501343b..88cabc2ac80 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -206,7 +206,7 @@ DEFUN ("framep", Fframep, Sframep, 1, 1, 0,
206Value is t for a termcap frame (a character-only terminal), 206Value is t for a termcap frame (a character-only terminal),
207`x' for an Emacs frame that is really an X window, 207`x' for an Emacs frame that is really an X window,
208`w32' for an Emacs frame that is a window on MS-Windows display, 208`w32' for an Emacs frame that is a window on MS-Windows display,
209`mac' for an Emacs frame on a Macintosh 8/9 X-Carbon display, 209`mac' for an Emacs frame on a Macintosh Carbon display,
210`ns' for an Emacs frame on a GNUstep or Macintosh Cocoa display, 210`ns' for an Emacs frame on a GNUstep or Macintosh Cocoa display,
211`pc' for a direct-write MS-DOS frame. 211`pc' for a direct-write MS-DOS frame.
212See also `frame-live-p'. */) 212See also `frame-live-p'. */)
diff --git a/src/keyboard.c b/src/keyboard.c
index 219b42c2456..716d1101aab 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7308,10 +7308,6 @@ tty_read_avail_input (struct terminal *terminal,
7308void 7308void
7309handle_async_input () 7309handle_async_input ()
7310{ 7310{
7311#ifdef BSD4_1
7312 extern int select_alarmed;
7313#endif
7314
7315 interrupt_input_pending = 0; 7311 interrupt_input_pending = 0;
7316 7312
7317 while (1) 7313 while (1)
@@ -7323,10 +7319,6 @@ handle_async_input ()
7323 0 means there was no keyboard input available. */ 7319 0 means there was no keyboard input available. */
7324 if (nread <= 0) 7320 if (nread <= 0)
7325 break; 7321 break;
7326
7327#ifdef BSD4_1
7328 select_alarmed = 1; /* Force the select emulator back to life */
7329#endif
7330 } 7322 }
7331} 7323}
7332 7324
@@ -7345,10 +7337,6 @@ input_available_signal (signo)
7345 signal (signo, input_available_signal); 7337 signal (signo, input_available_signal);
7346#endif /* USG */ 7338#endif /* USG */
7347 7339
7348#ifdef BSD4_1
7349 sigisheld (SIGIO);
7350#endif
7351
7352#ifdef SYNC_INPUT 7340#ifdef SYNC_INPUT
7353 interrupt_input_pending = 1; 7341 interrupt_input_pending = 1;
7354#else 7342#else
@@ -7362,9 +7350,6 @@ input_available_signal (signo)
7362 handle_async_input (); 7350 handle_async_input ();
7363#endif 7351#endif
7364 7352
7365#ifdef BSD4_1
7366 sigfree ();
7367#endif
7368 errno = old_errno; 7353 errno = old_errno;
7369} 7354}
7370#endif /* SIGIO */ 7355#endif /* SIGIO */
diff --git a/src/syntax.c b/src/syntax.c
index 0c547c724c9..541411b4d2f 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1,4 +1,3 @@
1#include <stdio.h>
2/* GNU Emacs routines to deal with syntax tables; also word and list parsing. 1/* GNU Emacs routines to deal with syntax tables; also word and list parsing.
3 Copyright (C) 1985, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2001, 2 Copyright (C) 1985, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2001,
4 2002, 2003, 2004, 2005, 2006, 2007, 2008 3 2002, 2003, 2004, 2005, 2006, 2007, 2008