Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include ANSIfy, libutil part is done.



details:   https://anonhg.NetBSD.org/src/rev/f9a156456274
branches:  trunk
changeset: 494967:f9a156456274
user:      ad <ad%NetBSD.org@localhost>
date:      Tue Jul 18 15:29:47 2000 +0000

description:
ANSIfy, libutil part is done.

diffstat:

 include/login_cap.h |  27 +++++++++++++--------------
 1 files changed, 13 insertions(+), 14 deletions(-)

diffs (42 lines):

diff -r 16544760c338 -r f9a156456274 include/login_cap.h
--- a/include/login_cap.h       Tue Jul 18 15:27:44 2000 +0000
+++ b/include/login_cap.h       Tue Jul 18 15:29:47 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: login_cap.h,v 1.2 2000/02/04 02:17:16 mjl Exp $ */
+/*     $NetBSD: login_cap.h,v 1.3 2000/07/18 15:29:47 ad Exp $ */
 
 /*-
  * Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved.
@@ -62,20 +62,19 @@
 __BEGIN_DECLS
 struct passwd;
 
-login_cap_t *login_getclass __P((char *));
-login_cap_t *login_getpwclass __P((const struct passwd *));
-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));
+login_cap_t *login_getclass(char *);
+login_cap_t *login_getpwclass(const struct passwd *);
+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);
 
-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
 
-#endif
-
+#endif /* !_LOGIN_CAP_H_ */



Home | Main Index | Thread Index | Old Index