X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbasic%2Fuser-util.c;h=fbe9f2a969987f86b225bd3a170173c0698aa7d5;hb=71227310a62a616a0d9356fe0506e01f47c76eb3;hp=006a73e59ad24ab75311a91fa97217d45c895633;hpb=07045a1a92c839fd2af80bd0c060a595021bc3b3;p=elogind.git diff --git a/src/basic/user-util.c b/src/basic/user-util.c index 006a73e59..fbe9f2a96 100644 --- a/src/basic/user-util.c +++ b/src/basic/user-util.c @@ -30,6 +30,7 @@ #include #include +#include "missing.h" #include "alloc-util.h" #include "fd-util.h" #include "formats-util.h" @@ -75,7 +76,6 @@ int parse_uid(const char *s, uid_t *ret) { return 0; } -#if 0 /// UNNEEDED by elogind char* getlogname_malloc(void) { uid_t uid; struct stat st; @@ -88,6 +88,7 @@ char* getlogname_malloc(void) { return uid_to_name(uid); } +#if 0 /// UNNEEDED by elogind char *getusername_malloc(void) { const char *e; @@ -462,7 +463,7 @@ int take_etc_passwd_lock(const char *root) { * * Note that shadow-utils also takes per-database locks in * addition to lckpwdf(). However, we don't given that they - * are redundant as they they invoke lckpwdf() first and keep + * are redundant as they invoke lckpwdf() first and keep * it during everything they do. The per-database locks are * awfully racy, and thus we just won't do them. */