Add an internal name for strtok_r().
This commit is contained in:
parent
980b2b416f
commit
0e34636229
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: namespace.h,v 1.8 1998/09/10 16:02:59 kleink Exp $ */
|
||||
/* $NetBSD: namespace.h,v 1.9 1998/09/27 17:57:49 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
@ -287,6 +287,7 @@
|
||||
#define strncasecmp _strncasecmp
|
||||
#define strptime _strptime
|
||||
#define strsignal _strsignal
|
||||
#define strtok_r _strtok_r
|
||||
#define strunvis _strunvis
|
||||
#define strvis _strvis
|
||||
#define strvisx _strvisx
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: strtok_r.c,v 1.3 1998/02/03 18:49:25 perry Exp $ */
|
||||
/* $NetBSD: strtok_r.c,v 1.4 1998/09/27 17:57:49 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 Regents of the University of California.
|
||||
@ -38,12 +38,17 @@
|
||||
#if 0
|
||||
static char *sccsid = "@(#)strtok.c 5.8 (Berkeley) 2/24/91";
|
||||
#else
|
||||
__RCSID("$NetBSD: strtok_r.c,v 1.3 1998/02/03 18:49:25 perry Exp $");
|
||||
__RCSID("$NetBSD: strtok_r.c,v 1.4 1998/09/27 17:57:49 kleink Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(strtok_r,_strtok_r);
|
||||
#endif
|
||||
|
||||
char *
|
||||
strtok_r(s, delim, lasts)
|
||||
char *s;
|
||||
|
Loading…
Reference in New Issue
Block a user