Kill __LIBUTIL_BUILD in favor of the newly added _LIBC indicator completely;
suggested by Jason Thorpe.
This commit is contained in:
parent
f3b515c1ec
commit
0453a51caa
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: pw_scan.c,v 1.6 1998/10/14 20:08:12 kleink Exp $ */
|
/* $NetBSD: pw_scan.c,v 1.7 1998/10/14 21:13:04 kleink Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1987, 1993, 1994, 1995
|
* Copyright (c) 1987, 1993, 1994, 1995
|
||||||
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#if defined(LIBC_SCCS) && !defined(lint)
|
#if defined(LIBC_SCCS) && !defined(lint)
|
||||||
__RCSID("$NetBSD: pw_scan.c,v 1.6 1998/10/14 20:08:12 kleink Exp $");
|
__RCSID("$NetBSD: pw_scan.c,v 1.7 1998/10/14 21:13:04 kleink Exp $");
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
#if defined(_LIBC)
|
#if defined(_LIBC)
|
||||||
@ -50,15 +50,15 @@ __RCSID("$NetBSD: pw_scan.c,v 1.6 1998/10/14 20:08:12 kleink Exp $");
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifndef __LIBUTIL_BUILD
|
#ifdef _LIBC
|
||||||
#include "pw_private.h"
|
#include "pw_private.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
#ifdef __LIBUTIL_BUILD
|
#ifdef _LIBC
|
||||||
pw_scan(bp, pw, flags)
|
|
||||||
#else
|
|
||||||
__pw_scan(bp, pw, flags)
|
__pw_scan(bp, pw, flags)
|
||||||
|
#else
|
||||||
|
pw_scan(bp, pw, flags)
|
||||||
#endif
|
#endif
|
||||||
char *bp;
|
char *bp;
|
||||||
struct passwd *pw;
|
struct passwd *pw;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# $NetBSD: Makefile,v 1.19 1998/06/27 05:08:56 thorpej Exp $
|
# $NetBSD: Makefile,v 1.20 1998/10/14 21:13:05 kleink Exp $
|
||||||
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||||
|
|
||||||
LIB= util
|
LIB= util
|
||||||
CPPFLAGS+=-DLIBC_SCCS -D__LIBUTIL_BUILD
|
CPPFLAGS+=-DLIBC_SCCS
|
||||||
SRCS= fparseln.c getmaxpartitions.c getrawpartition.c login.c login_tty.c \
|
SRCS= fparseln.c getmaxpartitions.c getrawpartition.c login.c login_tty.c \
|
||||||
logout.c logwtmp.c opendisk.c passwd.c pw_scan.c pidlock.c pty.c \
|
logout.c logwtmp.c opendisk.c passwd.c pw_scan.c pidlock.c pty.c \
|
||||||
ttyaction.c ttymsg.c bswap.c
|
ttyaction.c ttymsg.c bswap.c
|
||||||
|
Loading…
Reference in New Issue
Block a user