]> code.delx.au - gnu-emacs/commitdiff
Remove SunOS 4.x cruft
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Dec 2015 01:10:50 +0000 (17:10 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Dec 2015 01:11:23 +0000 (17:11 -0800)
Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
* lib-src/pop.c [sun]: Remove no-longer-needed include.
* lwlib/xlwmenu.c (SUNSO41): Remove.

lib-src/pop.c
lwlib/xlwmenu.c

index c6deaf73a2cc89cb803bbd17fe1ef73cd26e8b58..42d302026ffaad9c13ef64693ad5e5363d627f49 100644 (file)
@@ -42,10 +42,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #endif
 #include <pop.h>
 
-#ifdef sun
-#include <malloc.h>
-#endif /* sun */
-
 #ifdef HESIOD
 #include <hesiod.h>
 /*
index 61f175b3c254de81b72fe665d20fc9c4d2f7de0d..7e766bb7300929000c2e2294a94f5fc53bc512cd 100644 (file)
@@ -28,13 +28,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include <stdio.h>
 
 #include <sys/types.h>
-#if (defined __sun) && !(defined SUNOS41)
-#define SUNOS41
 #include <X11/Xos.h>
-#undef SUNOS41
-#else
-#include <X11/Xos.h>
-#endif
 #include <X11/IntrinsicP.h>
 #include <X11/ObjectP.h>
 #include <X11/StringDefs.h>