make struct user anonymous (only typedefed)
This works because this struct is never referenced by its name, but always by its type. This prevents a conflict with struct user from <sys/user.h> when compiling against uclibc. Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
This commit is contained in:
parent
a987299b76
commit
405f435b37
@ -732,7 +732,7 @@ typedef struct readyList {
|
|||||||
no AUTH is needed, and every
|
no AUTH is needed, and every
|
||||||
connection is immediately
|
connection is immediately
|
||||||
authenticated. */
|
authenticated. */
|
||||||
typedef struct user {
|
typedef struct {
|
||||||
sds name; /* The username as an SDS string. */
|
sds name; /* The username as an SDS string. */
|
||||||
uint64_t flags; /* See USER_FLAG_* */
|
uint64_t flags; /* See USER_FLAG_* */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user