[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 7d7e742: Remove SunOS 4.x cruft
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] emacs-25 7d7e742: Remove SunOS 4.x cruft |
Date: |
Sat, 19 Dec 2015 01:11:26 +0000 |
branch: emacs-25
commit 7d7e742fe358f300019c50568d05e58543e0f898
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Remove SunOS 4.x cruft
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 | 4 ----
lwlib/xlwmenu.c | 6 ------
2 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/lib-src/pop.c b/lib-src/pop.c
index c6deaf7..42d3020 100644
--- a/lib-src/pop.c
+++ b/lib-src/pop.c
@@ -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>
/*
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 61f175b..7e766bb 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 7d7e742: Remove SunOS 4.x cruft,
Paul Eggert <=