]> granicus.if.org Git - yasm/commitdiff
Add prototypes for strcasecmp and strncasecmp if we use our own implementation.
authorPeter Johnson <peter@tortall.net>
Sun, 16 Sep 2001 09:15:27 +0000 (09:15 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 16 Sep 2001 09:15:27 +0000 (09:15 -0000)
svn path=/trunk/yasm/; revision=160

libyasm/util.h
src/util.h
util.h

index d6741dac14bec93f38a0b7ea489cbf34c1cd616e..3cc8d86368750e5c51569dc451f48399977812d4 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: util.h,v 1.7 2001/09/16 09:13:00 peter Exp $
+/* $Id: util.h,v 1.8 2001/09/16 09:15:27 peter Exp $
  * Defines prototypes for replacement functions if needed.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -39,6 +39,8 @@ unsigned long strtoul(const char *nptr, char **endptr, int base);
 #  define strcasecmp(x, y)     strncmpi(x, y)
 # else
 #  define USE_OUR_OWN_STRCASECMP
+int strcasecmp(const char *s1, const char *s2);
+int strncasecmp(const char *s1, const char *s2, size_t n);
 # endif
 #endif
 
index d6741dac14bec93f38a0b7ea489cbf34c1cd616e..3cc8d86368750e5c51569dc451f48399977812d4 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: util.h,v 1.7 2001/09/16 09:13:00 peter Exp $
+/* $Id: util.h,v 1.8 2001/09/16 09:15:27 peter Exp $
  * Defines prototypes for replacement functions if needed.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -39,6 +39,8 @@ unsigned long strtoul(const char *nptr, char **endptr, int base);
 #  define strcasecmp(x, y)     strncmpi(x, y)
 # else
 #  define USE_OUR_OWN_STRCASECMP
+int strcasecmp(const char *s1, const char *s2);
+int strncasecmp(const char *s1, const char *s2, size_t n);
 # endif
 #endif
 
diff --git a/util.h b/util.h
index d6741dac14bec93f38a0b7ea489cbf34c1cd616e..3cc8d86368750e5c51569dc451f48399977812d4 100644 (file)
--- a/util.h
+++ b/util.h
@@ -1,4 +1,4 @@
-/* $Id: util.h,v 1.7 2001/09/16 09:13:00 peter Exp $
+/* $Id: util.h,v 1.8 2001/09/16 09:15:27 peter Exp $
  * Defines prototypes for replacement functions if needed.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -39,6 +39,8 @@ unsigned long strtoul(const char *nptr, char **endptr, int base);
 #  define strcasecmp(x, y)     strncmpi(x, y)
 # else
 #  define USE_OUR_OWN_STRCASECMP
+int strcasecmp(const char *s1, const char *s2);
+int strncasecmp(const char *s1, const char *s2, size_t n);
 # endif
 #endif