summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AsciiSrc.c5
-rw-r--r--src/Label.c4
-rw-r--r--src/MultiSrc.c3
-rw-r--r--src/SmeBSB.c4
-rw-r--r--src/TextPop.c3
5 files changed, 0 insertions, 19 deletions
diff --git a/src/AsciiSrc.c b/src/AsciiSrc.c
index e490b33..2f59441 100644
--- a/src/AsciiSrc.c
+++ b/src/AsciiSrc.c
@@ -40,9 +40,7 @@ in this Software without prior written authorization from the X Consortium.
#include <errno.h>
#include <X11/StringDefs.h>
#include <X11/Xos.h>
-#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
-#endif
#include <X11/Xfuncs.h>
#include <X11/Xaw3d/XawInit.h>
#include <X11/Xaw3d/AsciiSrcP.h>
@@ -116,9 +114,6 @@ static String MyStrncpy(char *, char *, int);
static String StorePiecesInString(AsciiSrcObject);
static Boolean SetValues(Widget, Widget, Widget, ArgList, Cardinal *);
static Boolean WriteToFile(_Xconst _XtString, _Xconst _XtString);
-#ifdef X_NOT_STDC_ENV
-extern int errno;
-#endif
#ifdef X_NOT_POSIX
#define Off_t long
diff --git a/src/Label.c b/src/Label.c
index ccaa060..3490ce0 100644
--- a/src/Label.c
+++ b/src/Label.c
@@ -67,11 +67,7 @@ SOFTWARE.
#include <ctype.h>
/* needed for abs() */
-#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
-#else
-int abs();
-#endif
#define streq(a,b) (strcmp( (a), (b) ) == 0)
diff --git a/src/MultiSrc.c b/src/MultiSrc.c
index 1ac3283..c7cc2ac 100644
--- a/src/MultiSrc.c
+++ b/src/MultiSrc.c
@@ -138,9 +138,6 @@ static void (MyWStrncpy)();
#endif
extern char *tmpnam(String);
-#ifdef X_NOT_STDC_ENV
-extern int errno;
-#endif
#ifdef X_NOT_POSIX
#define Off_t long
diff --git a/src/SmeBSB.c b/src/SmeBSB.c
index f8bf987..9f97014 100644
--- a/src/SmeBSB.c
+++ b/src/SmeBSB.c
@@ -54,11 +54,7 @@ in this Software without prior written authorization from the X Consortium.
#include <stdio.h>
/* needed for abs() */
-#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
-#else
-extern int abs();
-#endif
#define offset(field) XtOffsetOf(SmeBSBRec, sme_bsb.field)
diff --git a/src/TextPop.c b/src/TextPop.c
index 037fd5b..9f625b9 100644
--- a/src/TextPop.c
+++ b/src/TextPop.c
@@ -68,9 +68,6 @@ in this Software without prior written authorization from the X Consortium.
#include <X11/Xos.h> /* for O_RDONLY */
#include <errno.h>
-#ifdef X_NOT_STDC_ENV
-extern int errno;
-#endif
#define INSERT_FILE ("Enter Filename:")