summaryrefslogtreecommitdiff
path: root/src/AsciiSrc.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-06 16:43:25 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-06 16:43:25 -0700
commit5e8370095b40d642505bc3129cb7c38aeb98247e (patch)
tree0919a89db0c7f917aec6981c1c88e1995db64b7d /src/AsciiSrc.c
parent24662485317090da5c58085403f4c7ec0bde6052 (diff)
Remove support for pre-C89 headers (unifdef -UX_NOT_STDC_ENV)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/AsciiSrc.c')
-rw-r--r--src/AsciiSrc.c5
1 files changed, 0 insertions, 5 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