X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fuser-util.c;h=fbe9f2a969987f86b225bd3a170173c0698aa7d5;hp=8862626781b8f0132510d512bee8f311bb14223e;hb=cdc7b27bf58e294db71812932cd5f6f4a8dccc8b;hpb=4270e1a3f5083ebced316708e22390ea5da14a6b diff --git a/src/basic/user-util.c b/src/basic/user-util.c index 886262678..fbe9f2a96 100644 --- a/src/basic/user-util.c +++ b/src/basic/user-util.c @@ -76,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; @@ -89,6 +88,7 @@ char* getlogname_malloc(void) { return uid_to_name(uid); } +#if 0 /// UNNEEDED by elogind char *getusername_malloc(void) { const char *e; @@ -463,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. */