[Pkg-shadow-commits] r2074 - in upstream/trunk: . libmisc
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Mon Jun 9 18:13:53 UTC 2008
Author: nekral-guest
Date: 2008-06-09 18:13:52 +0000 (Mon, 09 Jun 2008)
New Revision: 2074
Modified:
upstream/trunk/ChangeLog
upstream/trunk/libmisc/list.c
Log:
* libmisc/list.c: Change is_on_list() prototype to return a bool.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-06-09 18:13:09 UTC (rev 2073)
+++ upstream/trunk/ChangeLog 2008-06-09 18:13:52 UTC (rev 2074)
@@ -1,5 +1,9 @@
2008-06-09 Nicolas François <nicolas.francois at centraliens.net>
+ * libmisc/list.c: Change is_on_list() prototype to return a bool.
+
+2008-06-09 Nicolas François <nicolas.francois at centraliens.net>
+
* libmisc/find_new_ids.c: Change find_new_uid() and find_new_gid()
prototypes to use a bool for their first argument (sys_user /
sys_group).
Modified: upstream/trunk/libmisc/list.c
===================================================================
--- upstream/trunk/libmisc/list.c 2008-06-09 18:13:09 UTC (rev 2073)
+++ upstream/trunk/libmisc/list.c 2008-06-09 18:13:52 UTC (rev 2074)
@@ -157,15 +157,15 @@
return tmp;
}
-int is_on_list (char *const *list, const char *member)
+bool is_on_list (char *const *list, const char *member)
{
while (*list) {
if (strcmp (*list, member) == 0) {
- return 1;
+ return true;
}
list++;
}
- return 0;
+ return false;
}
/*
More information about the Pkg-shadow-commits
mailing list