Kill __P(); WARNS=3

This commit is contained in:
xtraeme 2005-03-16 01:44:46 +00:00
parent 05b0c4c257
commit 1107a12cd0
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2004/07/04 15:55:35 uch Exp $
# $NetBSD: Makefile,v 1.11 2005/03/16 01:44:46 xtraeme Exp $
.if ${MACHINE} == "i386" || ${MACHINE} == "sparc" || ${MACHINE} == "macppc" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh"
PROG= apmd
@ -7,6 +7,8 @@ SRCS= apmd.c apmsubr.c
MAN= apmd.8
WARNS= 3
LDADD+= -lutil
DPADD+= ${LIBUTIL}

View File

@ -1,4 +1,4 @@
/* $NetBSD: apm-proto.h,v 1.3 1997/07/30 22:54:02 jtc Exp $ */
/* $NetBSD: apm-proto.h,v 1.4 2005/03/16 01:44:46 xtraeme Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -62,5 +62,5 @@ struct apm_reply {
#define APMD_VNO 1
extern const char *battstate __P((int state));
extern const char *ac_state __P((int state));
extern const char *battstate(int state);
extern const char *ac_state(int state);