From 8fa5942d22ce45d6cb07ab773efc523a855eedac Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 10 Feb 2011 21:39:00 +0200 Subject: More OS/2 changes. --- awk.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'awk.h') diff --git a/awk.h b/awk.h index f132f3c8..93822bde 100644 --- a/awk.h +++ b/awk.h @@ -135,10 +135,10 @@ typedef int off_t; #ifdef STDC_HEADERS #include -#else /* not STDC_HEADERS */ -#include "protos.h" #endif /* not STDC_HEADERS */ +#include "protos.h" + #ifdef HAVE_STRING_H #include #ifdef NEED_MEMORY_H @@ -167,11 +167,6 @@ typedef int off_t; #error "you lose: you need a system with vfprintf" #endif /* HAVE_VPRINTF */ -#ifndef HAVE_SNPRINTF -/* will use replacement version */ -extern int snprintf(char *restrict buf, size_t len, const char *restrict fmt, ...); -#endif - #ifndef HAVE_SETLOCALE #define setlocale(locale, val) /* nothing */ #endif /* HAVE_SETLOCALE */ @@ -185,11 +180,6 @@ extern void *memset_ulong(void *dest, int val, unsigned long l); #define memset memset_ulong #endif -#ifndef HAVE_STRNCASECMP -extern int strcasecmp(const char *s1, const char *s2); -extern int strncasecmp(const char *s1, const char *s2, register size_t n); -#endif - /* use this as lintwarn("...") this is a hack but it gives us the right semantics */ #define lintwarn (*(set_loc(__FILE__, __LINE__),lintfunc)) -- cgit v1.2.3