summaryrefslogtreecommitdiff
path: root/usr.sbin/sesd/srcs
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.sbin/sesd/srcs
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.sbin/sesd/srcs')
-rw-r--r--usr.sbin/sesd/srcs/chpmon.c2
-rw-r--r--usr.sbin/sesd/srcs/eltsub.c8
-rw-r--r--usr.sbin/sesd/srcs/getencstat.c8
-rw-r--r--usr.sbin/sesd/srcs/getnobj.c4
-rw-r--r--usr.sbin/sesd/srcs/getobjmap.c6
-rw-r--r--usr.sbin/sesd/srcs/getobjstat.c4
-rw-r--r--usr.sbin/sesd/srcs/inienc.c4
-rw-r--r--usr.sbin/sesd/srcs/sesd.c4
-rw-r--r--usr.sbin/sesd/srcs/setencstat.c4
-rw-r--r--usr.sbin/sesd/srcs/setobjstat.c4
10 files changed, 24 insertions, 24 deletions
diff --git a/usr.sbin/sesd/srcs/chpmon.c b/usr.sbin/sesd/srcs/chpmon.c
index fff8331d970..2fd11fceac0 100644
--- a/usr.sbin/sesd/srcs/chpmon.c
+++ b/usr.sbin/sesd/srcs/chpmon.c
@@ -48,7 +48,7 @@
#define BADSTAT \
(SES_ENCSTAT_UNRECOV|SES_ENCSTAT_CRITICAL|SES_ENCSTAT_NONCRITICAL)
-int main __P((int, char **));
+int main(int, char **);
int
main(a, v)
diff --git a/usr.sbin/sesd/srcs/eltsub.c b/usr.sbin/sesd/srcs/eltsub.c
index 63150361069..ed32a4cc0a0 100644
--- a/usr.sbin/sesd/srcs/eltsub.c
+++ b/usr.sbin/sesd/srcs/eltsub.c
@@ -1,6 +1,6 @@
/* $NetBSD: $ */
/* $FreeBSD: $ */
-/* $OpenBSD: eltsub.c,v 1.2 2000/02/22 06:21:36 mjacob Exp $ */
+/* $OpenBSD: eltsub.c,v 1.3 2002/02/16 21:28:09 millert Exp $ */
/*
* Copyright (c) 2000 by Matthew Jacob
* All rights reserved.
@@ -40,9 +40,9 @@
#include <sys/ioctl.h>
#include SESINC
-char *geteltnm __P((int));
-static char *scode2ascii __P((u_char));
-char *stat2ascii __P((int, u_char *));
+char *geteltnm(int);
+static char *scode2ascii(u_char);
+char *stat2ascii(int, u_char *);
char *
geteltnm(type)
diff --git a/usr.sbin/sesd/srcs/getencstat.c b/usr.sbin/sesd/srcs/getencstat.c
index 3dbbbfb5aa9..e53c07a33b3 100644
--- a/usr.sbin/sesd/srcs/getencstat.c
+++ b/usr.sbin/sesd/srcs/getencstat.c
@@ -1,6 +1,6 @@
/* $NetBSD: $ */
/* $FreeBSD: $ */
-/* $OpenBSD: getencstat.c,v 1.2 2000/02/22 06:21:36 mjacob Exp $ */
+/* $OpenBSD: getencstat.c,v 1.3 2002/02/16 21:28:09 millert Exp $ */
/*
* Copyright (c) 2000 by Matthew Jacob
* All rights reserved.
@@ -41,9 +41,9 @@
#include <fcntl.h>
#include SESINC
-extern char *geteltnm __P((int));
-extern char *stat2ascii __P((int, u_char *));
-int main __P((int, char **));
+extern char *geteltnm(int);
+extern char *stat2ascii(int, u_char *);
+int main(int, char **);
int
main(a, v)
diff --git a/usr.sbin/sesd/srcs/getnobj.c b/usr.sbin/sesd/srcs/getnobj.c
index e9bc0d3b402..8c040c1e269 100644
--- a/usr.sbin/sesd/srcs/getnobj.c
+++ b/usr.sbin/sesd/srcs/getnobj.c
@@ -1,6 +1,6 @@
/* $NetBSD: $ */
/* $FreeBSD: $ */
-/* $OpenBSD: getnobj.c,v 1.2 2000/02/22 06:21:36 mjacob Exp $ */
+/* $OpenBSD: getnobj.c,v 1.3 2002/02/16 21:28:09 millert Exp $ */
/*
* Copyright (c) 2000 by Matthew Jacob
* All rights reserved.
@@ -42,7 +42,7 @@
#include <sys/ioctl.h>
#include SESINC
-int main __P((int, char **));
+int main(int, char **);
int
main(argc, argv)
diff --git a/usr.sbin/sesd/srcs/getobjmap.c b/usr.sbin/sesd/srcs/getobjmap.c
index 3bc0c863ba5..ebe1686e4c4 100644
--- a/usr.sbin/sesd/srcs/getobjmap.c
+++ b/usr.sbin/sesd/srcs/getobjmap.c
@@ -1,6 +1,6 @@
/* $NetBSD: $ */
/* $FreeBSD: $ */
-/* $OpenBSD: getobjmap.c,v 1.2 2000/02/22 06:21:36 mjacob Exp $ */
+/* $OpenBSD: getobjmap.c,v 1.3 2002/02/16 21:28:09 millert Exp $ */
/*
* Copyright (c) 2000 by Matthew Jacob
* All rights reserved.
@@ -41,8 +41,8 @@
#include <sys/ioctl.h>
#include SESINC
-int main __P((int, char **));
-extern char *geteltnm __P((int));
+int main(int, char **);
+extern char *geteltnm(int);
int
main(a, v)
diff --git a/usr.sbin/sesd/srcs/getobjstat.c b/usr.sbin/sesd/srcs/getobjstat.c
index 57b81bce140..b55e1f5ff92 100644
--- a/usr.sbin/sesd/srcs/getobjstat.c
+++ b/usr.sbin/sesd/srcs/getobjstat.c
@@ -1,6 +1,6 @@
/* $NetBSD: $ */
/* $FreeBSD: $ */
-/* $OpenBSD: getobjstat.c,v 1.2 2000/02/22 06:21:36 mjacob Exp $ */
+/* $OpenBSD: getobjstat.c,v 1.3 2002/02/16 21:28:09 millert Exp $ */
/*
* Copyright (c) 2000 by Matthew Jacob
* All rights reserved.
@@ -40,7 +40,7 @@
#include <sys/ioctl.h>
#include SESINC
-int main __P((int, char **));
+int main(int, char **);
int
main(a, v)
diff --git a/usr.sbin/sesd/srcs/inienc.c b/usr.sbin/sesd/srcs/inienc.c
index 519201284d8..61be17e1bda 100644
--- a/usr.sbin/sesd/srcs/inienc.c
+++ b/usr.sbin/sesd/srcs/inienc.c
@@ -1,6 +1,6 @@
/* $NetBSD: $ */
/* $FreeBSD: $ */
-/* $OpenBSD: inienc.c,v 1.2 2000/02/22 06:21:36 mjacob Exp $ */
+/* $OpenBSD: inienc.c,v 1.3 2002/02/16 21:28:09 millert Exp $ */
/*
* Copyright (c) 2000 by Matthew Jacob
* All rights reserved.
@@ -41,7 +41,7 @@
#include <sys/ioctl.h>
#include SESINC
-int __P((int, char **));
+int(int, char **);
int
main(a, v)
diff --git a/usr.sbin/sesd/srcs/sesd.c b/usr.sbin/sesd/srcs/sesd.c
index 237746bb7c0..93e415bcb23 100644
--- a/usr.sbin/sesd/srcs/sesd.c
+++ b/usr.sbin/sesd/srcs/sesd.c
@@ -1,6 +1,6 @@
/* $NetBSD: $ */
/* $FreeBSD: $ */
-/* $OpenBSD: sesd.c,v 1.2 2000/02/22 06:21:36 mjacob Exp $ */
+/* $OpenBSD: sesd.c,v 1.3 2002/02/16 21:28:09 millert Exp $ */
/*
* Copyright (c) 2000 by Matthew Jacob
* All rights reserved.
@@ -45,7 +45,7 @@
#define ALLSTAT (SES_ENCSTAT_UNRECOV | SES_ENCSTAT_CRITICAL | \
SES_ENCSTAT_NONCRITICAL | SES_ENCSTAT_INFO)
-int main __P((int, char **));
+int main(int, char **);
/*
* Monitor named SES devices and note (via syslog) any changes in status.
diff --git a/usr.sbin/sesd/srcs/setencstat.c b/usr.sbin/sesd/srcs/setencstat.c
index fc85b8fded6..358b3580b98 100644
--- a/usr.sbin/sesd/srcs/setencstat.c
+++ b/usr.sbin/sesd/srcs/setencstat.c
@@ -1,6 +1,6 @@
/* $NetBSD: $ */
/* $FreeBSD: $ */
-/* $OpenBSD: setencstat.c,v 1.2 2000/02/22 06:21:36 mjacob Exp $ */
+/* $OpenBSD: setencstat.c,v 1.3 2002/02/16 21:28:09 millert Exp $ */
/*
* Copyright (c) 2000 by Matthew Jacob
* All rights reserved.
@@ -41,7 +41,7 @@
#include <sys/ioctl.h>
#include SESINC
-int main __P((int, char **));
+int main(int, char **);
int
main(a, v)
diff --git a/usr.sbin/sesd/srcs/setobjstat.c b/usr.sbin/sesd/srcs/setobjstat.c
index f094dff61c7..5cdd252f4e7 100644
--- a/usr.sbin/sesd/srcs/setobjstat.c
+++ b/usr.sbin/sesd/srcs/setobjstat.c
@@ -1,6 +1,6 @@
/* $NetBSD: $ */
/* $FreeBSD: $ */
-/* $OpenBSD: setobjstat.c,v 1.2 2000/02/22 06:21:36 mjacob Exp $ */
+/* $OpenBSD: setobjstat.c,v 1.3 2002/02/16 21:28:09 millert Exp $ */
/*
* Copyright (c) 2000 by Matthew Jacob
* All rights reserved.
@@ -41,7 +41,7 @@
#include <sys/ioctl.h>
#include SESINC
-int main __P((int, char **));
+int main(int, char **);
int
main(a, v)