summaryrefslogtreecommitdiff
path: root/sbin/mount_portal/portald.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
commitd522f6eb0324008023fed0be4d046f3fc51b0356 (patch)
tree9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /sbin/mount_portal/portald.h
parent1b433a7e5b43fe0dec72e100525e31299629c117 (diff)
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'sbin/mount_portal/portald.h')
-rw-r--r--sbin/mount_portal/portald.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/sbin/mount_portal/portald.h b/sbin/mount_portal/portald.h
index e9003655d8e..92342b9c6f5 100644
--- a/sbin/mount_portal/portald.h
+++ b/sbin/mount_portal/portald.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: portald.h,v 1.4 2002/02/16 21:27:36 millert Exp $ */
+/* $OpenBSD: portald.h,v 1.5 2002/02/17 19:42:28 millert Exp $ */
/* $NetBSD: portald.h,v 1.4 1995/04/23 10:33:23 cgd Exp $ */
/*
@@ -61,20 +61,16 @@ struct qelem {
typedef struct provider provider;
struct provider {
char *pr_match;
- int (*pr_func) __P((struct portal_cred *,
- char *key, char **v, int so, int *fdp));
+ int (*pr_func)(struct portal_cred *, char *, char **, int, int *);
};
extern provider providers[];
/*
* Portal providers
*/
-extern int portal_exec __P((struct portal_cred *,
- char *key, char **v, int so, int *fdp));
-extern int portal_file __P((struct portal_cred *,
- char *key, char **v, int so, int *fdp));
-extern int portal_tcp __P((struct portal_cred *,
- char *key, char **v, int so, int *fdp));
+extern int portal_exec(struct portal_cred *, char *, char **, int, int *);
+extern int portal_file(struct portal_cred *, char *, char **, int, int *);
+extern int portal_tcp(struct portal_cred *, char *, char **, int, int *);
/*
* Global functions