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
|
PORTABILITY
|
||||||
<<strnstr>> is ANSI C.
|
<<strnstr>> is a BSD extension.
|
||||||
|
|
||||||
<<strnstr>> requires no supporting OS subroutines.
|
<<strnstr>> requires no supporting OS subroutines.
|
||||||
|
|
||||||
QUICKREF
|
QUICKREF
|
||||||
strnstr ansi pure
|
strnstr pure
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#undef __STRICT_ANSI__
|
#define _GNU_SOURCE
|
||||||
#include <_ansi.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue