Need an internal name for strsep().
This commit is contained in:
parent
352f441050
commit
24a514c54c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pw_scan.c,v 1.4 1998/07/26 19:05:07 mycroft Exp $ */
|
||||
/* $NetBSD: pw_scan.c,v 1.5 1998/10/13 20:32:10 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987, 1993, 1994, 1995
|
||||
@ -35,11 +35,11 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: pw_scan.c,v 1.4 1998/07/26 19:05:07 mycroft Exp $");
|
||||
__RCSID("$NetBSD: pw_scan.c,v 1.5 1998/10/13 20:32:10 kleink Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <limits.h>
|
||||
#include <pwd.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: namespace.h,v 1.16 1998/10/13 20:27:55 kleink Exp $ */
|
||||
/* $NetBSD: namespace.h,v 1.17 1998/10/13 20:32:09 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
@ -293,6 +293,7 @@
|
||||
#define strdup _strdup
|
||||
#define strncasecmp _strncasecmp
|
||||
#define strptime _strptime
|
||||
#define strsep _strsep
|
||||
#define strsignal _strsignal
|
||||
#define strtok_r _strtok_r
|
||||
#define strunvis _strunvis
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: strsep.c,v 1.7 1998/02/03 18:49:23 perry Exp $ */
|
||||
/* $NetBSD: strsep.c,v 1.8 1998/10/13 20:32:09 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,12 +38,17 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)strsep.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: strsep.c,v 1.7 1998/02/03 18:49:23 perry Exp $");
|
||||
__RCSID("$NetBSD: strsep.c,v 1.8 1998/10/13 20:32:09 kleink Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(strsep,_strsep);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Get next token from string *stringp, where tokens are possibly-empty
|
||||
* strings separated by characters from delim.
|
||||
|
Loading…
x
Reference in New Issue
Block a user