* include/strings.h: Don't include string.h. Only declare functions

according to SUSv3.
This commit is contained in:
Corinna Vinschen 2007-01-05 15:09:22 +00:00
parent 9d507d4d4b
commit 7ce031f211
2 changed files with 40 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-01-05 Corinna Vinschen <corinna@vinschen.de>
* include/strings.h: Don't include string.h. Only declare functions
according to SUSv3.
2007-01-04 Corinna Vinschen <corinna@vinschen.de>
(get_ifconf): Set MTU for loopback to more correct value.

View File

@ -1,6 +1,37 @@
#ifndef _STRINGS_H
#define _STRINGS_H
/* strings.h
#include <string.h>
Copyright 2007 Red Hat, Inc.
#endif /* _STRINGS_H */
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#ifndef _STRINGS_H_
#define _STRINGS_H_
/* newlib's string.h already declares these functions. */
#ifndef _STRING_H_
#include "_ansi.h"
#define __need_size_t
#include <stddef.h>
_BEGIN_STD_C
int _EXFUN(bcmp,(const void *, const void *, size_t));
void _EXFUN(bcopy,(const void *, void *, size_t));
void _EXFUN(bzero,(void *, size_t));
int _EXFUN(ffs,(int));
char *_EXFUN(index,(const char *, int));
char *_EXFUN(rindex,(const char *, int));
int _EXFUN(strcasecmp,(const char *, const char *));
int _EXFUN(strncasecmp,(const char *, const char *, size_t));
_END_STD_C
#endif /* _STRING_H_ */
#endif /* _STRINGS_H_ */