summaryrefslogtreecommitdiff
path: root/include/login_cap.h
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 /include/login_cap.h
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 'include/login_cap.h')
-rw-r--r--include/login_cap.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/login_cap.h b/include/login_cap.h
index 6b150583e4a..3955f12a207 100644
--- a/include/login_cap.h
+++ b/include/login_cap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: login_cap.h,v 1.6 2001/07/15 21:32:25 millert Exp $ */
+/* $OpenBSD: login_cap.h,v 1.7 2002/02/16 21:27:17 millert Exp $ */
/*-
* Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved.
@@ -89,18 +89,18 @@ typedef struct login_cap {
__BEGIN_DECLS
struct passwd;
-login_cap_t *login_getclass __P((char *));
-void login_close __P((login_cap_t *));
-int login_getcapbool __P((login_cap_t *, char *, u_int));
-quad_t login_getcapnum __P((login_cap_t *, char *, quad_t, quad_t));
-quad_t login_getcapsize __P((login_cap_t *, char *, quad_t, quad_t));
-char *login_getcapstr __P((login_cap_t *, char *, char *, char *));
-quad_t login_getcaptime __P((login_cap_t *, char *, quad_t, quad_t));
-char *login_getstyle __P((login_cap_t *, char *, char *));
+login_cap_t *login_getclass(char *);
+void login_close(login_cap_t *);
+int login_getcapbool(login_cap_t *, char *, u_int);
+quad_t login_getcapnum(login_cap_t *, char *, quad_t, quad_t);
+quad_t login_getcapsize(login_cap_t *, char *, quad_t, quad_t);
+char *login_getcapstr(login_cap_t *, char *, char *, char *);
+quad_t login_getcaptime(login_cap_t *, char *, quad_t, quad_t);
+char *login_getstyle(login_cap_t *, char *, char *);
-int secure_path __P((char *));
-int setclasscontext __P((char *, u_int));
-int setusercontext __P((login_cap_t *, struct passwd *, uid_t, u_int));
+int secure_path(char *);
+int setclasscontext(char *, u_int);
+int setusercontext(login_cap_t *, struct passwd *, uid_t, u_int);
__END_DECLS