The strtok_r() function is in libc now, so use it.

This commit is contained in:
John Polstra 1999-01-20 21:24:28 +00:00
parent 5d00b6ccba
commit c403312f22
3 changed files with 6 additions and 6 deletions

View File

@ -131,7 +131,7 @@
/* #undef NEED_CRYPT_PROTO */
/* define if the system is missing a prototype for strtok_r() */
#define NEED_STRTOK_R_PROTO 1
/* #undef NEED_STRTOK_R_PROTO */
/* define if /bin/ls takes -A */
#define HAVE_LS_A 1
@ -428,7 +428,7 @@
/* #undef HAVE_STRNLEN */
/* Define if you have the strtok_r function. */
/* #undef HAVE_STRTOK_R */
#define HAVE_STRTOK_R 1
/* Define if you have the strupr function. */
/* #undef HAVE_STRUPR */

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1998/03/20 17:48:03 markm Exp $
# $Id: Makefile,v 1.3 1998/11/18 00:40:07 jdp Exp $
LIB= krb
CFLAGS+= -I${KRB4DIR}/include \
@ -25,7 +25,7 @@ SRCS= cr_err_reply.c create_auth_reply.c create_ciph.c \
rw.c kdc_reply.c encrypt_ktext.c swab.c gettimeofday.c \
check_time.c krb_err.c et_list.c resolve.c unparse_name.c \
logging.c k_concat.c \
snprintf.c strdup.c strtok_r.c strcasecmp.c \
snprintf.c strdup.c strcasecmp.c \
${KRBOBJDIR}/krb_err.h
MAN3= ${KRB4DIR}/man/kerberos.3 \
${KRB4DIR}/man/krb_realmofhost.3 \

View File

@ -1,4 +1,4 @@
# $Id$
# $Id: Makefile,v 1.1.1.1 1997/09/24 20:37:12 markm Exp $
LIB= roken
CFLAGS+= -I${KRB4DIR}/include \
@ -6,7 +6,7 @@ CFLAGS+= -I${KRB4DIR}/include \
-I${KRB4DIR}/lib/roken
SRCS= k_getpwuid.c k_getpwnam.c signal.c tm2time.c \
verify.c inaddr2str.c mini_inetd.c get_window_size.c \
warnerr.c snprintf.c strlwr.c strnlen.c strtok_r.c strupr.c
warnerr.c snprintf.c strlwr.c strnlen.c strupr.c
NOPIC= yes
install: