From: Peter Johnson Date: Sun, 16 Sep 2001 09:15:27 +0000 (-0000) Subject: Add prototypes for strcasecmp and strncasecmp if we use our own implementation. X-Git-Tag: v0.1.0~352 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=303bc90f720afc205ac8bc0194d5ffee5b72e2be;p=yasm Add prototypes for strcasecmp and strncasecmp if we use our own implementation. svn path=/trunk/yasm/; revision=160 --- diff --git a/libyasm/util.h b/libyasm/util.h index d6741dac..3cc8d863 100644 --- a/libyasm/util.h +++ b/libyasm/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 diff --git a/src/util.h b/src/util.h index d6741dac..3cc8d863 100644 --- a/src/util.h +++ b/src/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 diff --git a/util.h b/util.h index d6741dac..3cc8d863 100644 --- 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