basic/user-util: attach pointer symbol to return type, not function

Surrounding code was predominantly using this style already, let's make things
consistent.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-05-30 16:03:32 +02:00
parent 600bf76c17
commit 78435d620c
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ typedef enum ValidUserFlags {
bool valid_user_group_name(const char *u, ValidUserFlags flags);
bool valid_gecos(const char *d);
char *mangle_gecos(const char *d);
char* mangle_gecos(const char *d);
bool valid_home(const char *p);
static inline bool valid_shell(const char *p) {
@@ -136,7 +136,7 @@ const char* default_root_shell(const char *root);
int is_this_me(const char *username);
const char *get_home_root(void);
const char* get_home_root(void);
static inline bool hashed_password_is_locked_or_invalid(const char *password) {
return password && password[0] != '$';