shared: split out UID allocation range stuff from user-record.h

user-record.[ch] are about the UserRecord JSON stuff, and the UID
allocation range stuff (i.e. login.defs handling) is a very different
thing, and complex enough on its own, let's give it its own c/h files.

No code changes, just some splitting out of code.
This commit is contained in:
Lennart Poettering
2021-11-13 08:10:11 +01:00
parent bb562024a5
commit b085d22406
16 changed files with 173 additions and 157 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
#include "stdio-util.h"
#include "string-util.h"
#include "strv.h"
#include "user-record.h"
#include "uid-alloc-range.h"
#include "user-util.h"
/* Takes a value generated randomly or by hashing and turns it into a UID in the right range */