diff options
Diffstat (limited to 'dmake/dmstring.c')
-rw-r--r-- | dmake/dmstring.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/dmake/dmstring.c b/dmake/dmstring.c index b4ff6177c368..9659fc406768 100644 --- a/dmake/dmstring.c +++ b/dmake/dmstring.c @@ -1,4 +1,4 @@ -/* RCS $Id: dmstring.c,v 1.1.1.1 2000-09-22 15:33:25 hr Exp $ +/* RCS $Id: dmstring.c,v 1.2 2007-01-18 09:29:40 vg Exp $ -- -- SYNOPSIS -- String handling code @@ -285,3 +285,16 @@ char *e; return( s ); } + + +/* Provide "missing" string function. */ +#ifndef HAVE_STRLWR +char * +strlwr(char *s) +{ + char *p; + for(p=s; *p; p++ ) + *p = tolower(*p); + return s; +} +#endif |