summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Rees <rees@cvs.openbsd.org>2001-08-02 17:02:06 +0000
committerJim Rees <rees@cvs.openbsd.org>2001-08-02 17:02:06 +0000
commit68d6b9fe3cbf15afeeed672a3e917bb2f525c9a8 (patch)
tree4765abf0aa719a37e91191ca8adcf6b6ee59ad64 /lib
parent0cef5d85c6f165e459fb510ef3803d00709ea915 (diff)
stdio.h is evil on PalmOS
Diffstat (limited to 'lib')
-rw-r--r--lib/libsectok/cmdtab.c5
-rw-r--r--lib/libsectok/cyberflex.c4
-rw-r--r--lib/libsectok/input.c7
-rw-r--r--lib/libsectok/r1r2.c5
-rw-r--r--lib/libsectok/sc7816.c4
-rw-r--r--lib/libsectok/sectok.c3
6 files changed, 15 insertions, 13 deletions
diff --git a/lib/libsectok/cmdtab.c b/lib/libsectok/cmdtab.c
index 4badbb18bfa..e689cfb0c6e 100644
--- a/lib/libsectok/cmdtab.c
+++ b/lib/libsectok/cmdtab.c
@@ -1,4 +1,4 @@
-/* $Id: cmdtab.c,v 1.5 2001/07/30 20:05:39 rees Exp $ */
+/* $Id: cmdtab.c,v 1.6 2001/08/02 17:02:05 rees Exp $ */
/*
copyright 1999
@@ -42,8 +42,9 @@ such damages.
#include <System/Unix/unix_string.h>
#include <UI/UIAll.h>
#include "field.h"
-#endif
+#else
#include <stdio.h>
+#endif
#include "sectok.h"
diff --git a/lib/libsectok/cyberflex.c b/lib/libsectok/cyberflex.c
index 996b0d3da84..57719b4a435 100644
--- a/lib/libsectok/cyberflex.c
+++ b/lib/libsectok/cyberflex.c
@@ -1,4 +1,4 @@
-/* $Id: cyberflex.c,v 1.9 2001/07/30 20:05:39 rees Exp $ */
+/* $Id: cyberflex.c,v 1.10 2001/08/02 17:02:05 rees Exp $ */
/*
copyright 2000
@@ -46,9 +46,9 @@ such damages.
#else
#include <stdlib.h>
#include <unistd.h>
-#endif
#include <stdio.h>
#include <string.h>
+#endif
#include "sectok.h"
diff --git a/lib/libsectok/input.c b/lib/libsectok/input.c
index 00de896e448..cd5e750e5a2 100644
--- a/lib/libsectok/input.c
+++ b/lib/libsectok/input.c
@@ -1,4 +1,4 @@
-/* $Id: input.c,v 1.7 2001/07/30 20:05:39 rees Exp $ */
+/* $Id: input.c,v 1.8 2001/08/02 17:02:05 rees Exp $ */
/*
copyright 2001
@@ -44,10 +44,11 @@ such damages.
#include <System/Unix/unix_string.h>
#include <UI/UIAll.h>
#include "field.h"
-#endif
+#else
#include <stdio.h>
-#include <ctype.h>
#include <string.h>
+#endif
+#include <ctype.h>
#include "sectok.h"
diff --git a/lib/libsectok/r1r2.c b/lib/libsectok/r1r2.c
index daca07d752b..511da002945 100644
--- a/lib/libsectok/r1r2.c
+++ b/lib/libsectok/r1r2.c
@@ -1,4 +1,4 @@
-/* $Id: r1r2.c,v 1.7 2001/08/02 15:09:35 rees Exp $ */
+/* $Id: r1r2.c,v 1.8 2001/08/02 17:02:05 rees Exp $ */
/*
copyright 1999
@@ -42,8 +42,9 @@ such damages.
#include <System/Unix/unix_string.h>
#include <UI/UIAll.h>
#include "field.h"
-#endif
+#else
#include <stdio.h>
+#endif
#include "sectok.h"
diff --git a/lib/libsectok/sc7816.c b/lib/libsectok/sc7816.c
index bb6c835600e..076d9bdedaa 100644
--- a/lib/libsectok/sc7816.c
+++ b/lib/libsectok/sc7816.c
@@ -1,4 +1,4 @@
-/* $Id: sc7816.c,v 1.7 2001/07/30 20:05:39 rees Exp $ */
+/* $Id: sc7816.c,v 1.8 2001/08/02 17:02:05 rees Exp $ */
/*
copyright 2000
@@ -48,9 +48,9 @@ such damages.
#else
#include <stdlib.h>
#include <unistd.h>
-#endif
#include <stdio.h>
#include <string.h>
+#endif
#ifdef SCPERF
#define SCPERF_FIRST_APPEARANCE
diff --git a/lib/libsectok/sectok.c b/lib/libsectok/sectok.c
index 419fe57b2f2..36ba116f454 100644
--- a/lib/libsectok/sectok.c
+++ b/lib/libsectok/sectok.c
@@ -1,4 +1,4 @@
-/* $Id: sectok.c,v 1.9 2001/07/30 20:05:39 rees Exp $ */
+/* $Id: sectok.c,v 1.10 2001/08/02 17:02:05 rees Exp $ */
/*
copyright 2000
@@ -45,7 +45,6 @@ such damages.
#include <System/Unix/unix_string.h>
#include <UI/UIAll.h>
#include "field.h"
-#include <stdio.h>
#undef open
#else
#include <sys/types.h>