* lib/prototypes.h, libmisc/valid.c: Change the prototype of

valid() to return a bool.
	* libmisc/valid.c: Add parenthesis.
This commit is contained in:
nekral-guest
2008-06-10 21:52:34 +00:00
parent 7cb33ba636
commit c573f432fe
3 changed files with 15 additions and 9 deletions

View File

@ -97,7 +97,7 @@ extern void sanitize_env (void);
/* fields.c */
extern void change_field (char *, size_t, const char *);
extern int valid_field (const char *, const char *);
extern bool valid_field (const char *, const char *);
/* find_new_ids.c */
extern int find_new_uid (bool sys_user, uid_t *uid, uid_t const *preferred_uid);