Fix warnings and documentation in strnstr.c

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
Sebastian Huber 2017-09-13 14:31:01 +02:00 committed by Yaakov Selkowitz
parent 05cfd1aed8
commit 1592a0be0c
1 changed files with 3 additions and 4 deletions

View File

@ -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>
/*