Fix warnings and documentation in strnstr.c
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
05cfd1aed8
commit
1592a0be0c
|
@ -21,17 +21,16 @@ RETURNS
|
|||
|
||||
|
||||
PORTABILITY
|
||||
<<strnstr>> is ANSI C.
|
||||
<<strnstr>> is a BSD extension.
|
||||
|
||||
<<strnstr>> requires no supporting OS subroutines.
|
||||
|
||||
QUICKREF
|
||||
strnstr ansi pure
|
||||
strnstr pure
|
||||
|
||||
*/
|
||||
|
||||
#undef __STRICT_ANSI__
|
||||
#include <_ansi.h>
|
||||
#define _GNU_SOURCE
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue