Source-Changes-HG archive

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

[src/trunk]: src/include - Sort function decls.



details:   https://anonhg.NetBSD.org/src/rev/5c32a74b0fc0
branches:  trunk
changeset: 497078:5c32a74b0fc0
user:      ad <ad%NetBSD.org@localhost>
date:      Mon Sep 18 16:37:23 2000 +0000

description:
- Sort function decls.
- Remove duplicate decl.
- First arg to secure_path() is now constant.

diffstat:

 include/util.h |  41 ++++++++++++++++++++---------------------
 1 files changed, 20 insertions(+), 21 deletions(-)

diffs (68 lines):

diff -r 12be120d7447 -r 5c32a74b0fc0 include/util.h
--- a/include/util.h    Mon Sep 18 16:36:33 2000 +0000
+++ b/include/util.h    Mon Sep 18 16:37:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.h,v 1.17 2000/07/07 10:35:58 ad Exp $     */
+/*     $NetBSD: util.h,v 1.18 2000/09/18 16:37:23 ad Exp $     */
 
 /*-
  * Copyright (c) 1995
@@ -54,39 +54,38 @@
 #define        FPARSELN_UNESCALL       0x0f
 
 __BEGIN_DECLS
-struct utmp;
+struct iovec;
 struct passwd;
 struct termios;
-struct termios;
+struct utmp;
 struct winsize;
-struct iovec;
 
+pid_t  forkpty(int *, char *, struct termios *, struct winsize *);
+char   *fparseln(FILE *, size_t *, size_t *, const char[3], int);
+int    getmaxpartitions(void);
+int    getrawpartition(void);
 void   login(const struct utmp *);
 int    login_tty(int);
 int    logout(const char *);
 void   logwtmp(const char *, const char *, const char *);
-void   pw_getconf(char *data, size_t max, const char *key, const char *option);
+int    opendisk(const char *, int, char *, size_t, int);
+int    openpty(int *, int *, char *, struct termios *, struct winsize *);
+void   pidfile(const char *);
+int    pidlock(const char *, int, pid_t *, const char *);
+int    pw_abort(void);
+void   pw_copy(int, int, struct passwd *, struct passwd *);
+void   pw_edit(int, const char *);
+void   pw_error(const char *, int, int);
+void   pw_getconf(char *, size_t, const char *, const char *);
+void   pw_init(void);
 int    pw_lock(int);
 int    pw_mkdb(void);
-int    pw_abort(void);
-void   pw_init(void);
-void   pw_edit(int, const char *);
 void   pw_prompt(void);
-void   pw_copy(int, int, struct passwd *, struct passwd *);
-void   pw_error(const char *, int, int);
-int    openpty(int *, int *, char *, struct termios *, struct winsize *);
-char   *fparseln(FILE *, size_t *, size_t *, const char[3], int);
-pid_t  forkpty(int *, char *, struct termios *, struct winsize *);
-int    getmaxpartitions(void);
-int    getrawpartition(void);
-int    opendisk(const char *, int, char *, size_t, int);
-void   pidfile(const char *);
-int    pidlock(const char *, int, pid_t *, const char *);
+int    secure_path(const char *);
+int    ttyaction(const char *, const char *, const char *);
 int    ttylock(const char *, int, pid_t *);
+char   *ttymsg(struct iovec *, int, const char *, int);
 int    ttyunlock(const char *);
-int    ttyaction(const char *, const char *, const char *);
-char   *ttymsg(struct iovec *, int, const char *, int);
-int    secure_path(char *);
 __END_DECLS
 
 #endif /* !_UTIL_H_ */



Home | Main Index | Thread Index | Old Index