[Pkg-shadow-commits] r2065 - in upstream/trunk: . lib

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Mon May 26 08:56:37 UTC 2008


Author: nekral-guest
Date: 2008-05-26 08:56:34 +0000 (Mon, 26 May 2008)
New Revision: 2065

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/prototypes.h
Log:
	* lib/prototypes.h: Fix prototypes according to earlier changes (usage of the bool type).
	* lib/prototypes.h: Add the arguments' name to the prototypes.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-05-26 08:53:56 UTC (rev 2064)
+++ upstream/trunk/ChangeLog	2008-05-26 08:56:34 UTC (rev 2065)
@@ -1,5 +1,11 @@
 2008-05-26  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* lib/prototypes.h: Fix prototypes according to earlier changes
+	(usage of the bool type).
+	* lib/prototypes.h: Add the arguments' name to the prototypes.
+
+2008-05-26  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* lib/groupio.h: Add protection against multiple inclusions.
 
 2008-05-26  Nicolas François  <nicolas.francois at centraliens.net>

Modified: upstream/trunk/lib/prototypes.h
===================================================================
--- upstream/trunk/lib/prototypes.h	2008-05-26 08:53:56 UTC (rev 2064)
+++ upstream/trunk/lib/prototypes.h	2008-05-26 08:56:34 UTC (rev 2065)
@@ -120,7 +120,7 @@
 extern struct group *__gr_dup (const struct group *grent);
 
 /* hushed.c */
-extern int hushed (const struct passwd *);
+extern bool hushed (const struct passwd *pw);
 
 /* audit_help.c */
 #ifdef WITH_AUDIT
@@ -165,7 +165,7 @@
 extern int obscure (const char *, const char *, const struct passwd *);
 
 /* pam_pass.c */
-extern void do_pam_passwd (const char *, int, int);
+extern void do_pam_passwd (const char *user, bool silent, bool change_expired);
 
 /* port.c */
 extern int isttytime (const char *, const char *, time_t);
@@ -194,9 +194,9 @@
 extern char *crypt_make_salt (const char *meth, void *arg);
 
 /* setugid.c */
-extern int setup_groups (const struct passwd *);
-extern int change_uid (const struct passwd *);
-extern int setup_uid_gid (const struct passwd *, int);
+extern int setup_groups (const struct passwd *info);
+extern int change_uid (const struct passwd *info);
+extern int setup_uid_gid (const struct passwd *info, bool is_console);
 
 /* setup.c */
 extern void setup (struct passwd *);
@@ -233,7 +233,10 @@
 extern int check_su_auth (const char *actual_id, const char *wanted_id);
 
 /* sulog.c */
-extern void sulog (const char *, int, const char *, const char *);
+extern void sulog (const char *tty,
+                   bool success,
+                   const char *oldname,
+                   const char *name);
 
 /* sub.c */
 extern void subsystem (const struct passwd *);
@@ -248,7 +251,7 @@
 extern void set_filesize_limit (int);
 
 /* utmp.c */
-extern void checkutmp (int);
+extern void checkutmp (bool picky);
 extern void setutmp (const char *, const char *, const char *);
 
 /* valid.c */
@@ -270,6 +273,6 @@
 extern struct spwd *xgetspnam(const char *);
 
 /* yesno.c */
-extern int yes_or_no (int read_only);
+extern bool yes_or_no (bool read_only);
 
 #endif				/* _PROTOTYPES_H */




More information about the Pkg-shadow-commits mailing list