Kill __LIBUTIL_BUILD in favor of the newly added _LIBC indicator completely;

suggested by Jason Thorpe.
This commit is contained in:
kleink 1998-10-14 21:13:04 +00:00
parent f3b515c1ec
commit 0453a51caa
2 changed files with 8 additions and 8 deletions

View File

@ -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
@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#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 */
#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 <unistd.h>
#ifndef __LIBUTIL_BUILD
#ifdef _LIBC
#include "pw_private.h"
#endif
int
#ifdef __LIBUTIL_BUILD
pw_scan(bp, pw, flags)
#else
#ifdef _LIBC
__pw_scan(bp, pw, flags)
#else
pw_scan(bp, pw, flags)
#endif
char *bp;
struct passwd *pw;

View File

@ -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
LIB= util
CPPFLAGS+=-DLIBC_SCCS -D__LIBUTIL_BUILD
CPPFLAGS+=-DLIBC_SCCS
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 \
ttyaction.c ttymsg.c bswap.c