treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1

This commit is contained in:
Lennart Poettering
2014-11-28 20:55:04 +01:00
parent 36afca67b6
commit fed1e721fd
18 changed files with 69 additions and 65 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ static Hashmap *members = NULL;
static Hashmap *database_uid = NULL, *database_user = NULL;
static Hashmap *database_gid = NULL, *database_group = NULL;
static uid_t search_uid = (uid_t) -1;
static uid_t search_uid = UID_INVALID;
static UidRange *uid_range = NULL;
static unsigned n_uid_range = 0;