From 16192a571104a951f1d3fee722addd5a32a27ce3 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 13 Jun 2012 14:11:05 -0400 Subject: [PATCH] Remove some unused definitions from src/s * src/s/bsd-common.h (BSD4_3): * src/s/usg5-4-common.h (USG5_4): No longer define; unused. * admin/CPP-DEFINES, src/s/template.h: Related edits. --- admin/CPP-DEFINES | 2 -- src/ChangeLog | 5 +++++ src/s/bsd-common.h | 9 ++++++--- src/s/template.h | 1 - src/s/usg5-4-common.h | 3 ++- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 35de784f852..e032ef87a40 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES @@ -79,7 +79,6 @@ BROKEN_SIGIO BROKEN_SIGPOLL BROKEN_SIGPTY BSD4_2 -BSD4_3 BSD_SYSTEM CLASH_DETECTION DATA_SEG_BITS @@ -238,7 +237,6 @@ USE_CRT_DLL USE_TOOLKIT_SCROLL_BARS USG USG5 -USG5_4 USG_SUBTTY_WORKS VALBITS WRETCODE diff --git a/src/ChangeLog b/src/ChangeLog index 19a9ace0728..67905401631 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-06-13 Glenn Morris + + * s/bsd-common.h (BSD4_3): + * s/usg5-4-common.h (USG5_4): No longer define; unused. + 2012-06-13 Andreas Schwab * lisp.h (Lisp_Object) [CHECK_LISP_OBJECT_TYPE]: Define as struct diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h index ce67dd7b9af..98391740653 100644 --- a/src/s/bsd-common.h +++ b/src/s/bsd-common.h @@ -23,9 +23,12 @@ along with GNU Emacs. If not, see . */ /* We give these symbols the numeric values found in to avoid warnings about redefined macros. */ -#ifndef BSD4_3 -#define BSD4_3 1 -#endif /* BSD4_3 */ + +/* Nothing in Emacs uses this any more. + ifndef BSD4_3 + define BSD4_3 1 + endif +*/ #ifndef BSD_SYSTEM #define BSD_SYSTEM 43 diff --git a/src/s/template.h b/src/s/template.h index d8f811dc8aa..e3557aa191b 100644 --- a/src/s/template.h +++ b/src/s/template.h @@ -27,7 +27,6 @@ along with GNU Emacs. If not, see . */ /* #define USG */ /* #define HPUX */ /* #define BSD4_2 */ -/* #define BSD4_3 */ /* #define BSD_SYSTEM */ /* Emacs can read input using SIGIO and buffering characters itself, diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index 1502228c0d8..2676e9e5943 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h @@ -24,7 +24,8 @@ along with GNU Emacs. If not, see . */ #define USG /* System III, System V, etc */ #define USG5 -#define USG5_4 +/* Nothing in Emacs use this any more. */ +/* #define USG5_4 */ /* setjmp and longjmp can safely replace _setjmp and _longjmp, but they will run slower. */ -- 2.39.5