Commit 1f246bfc authored by Titouan Christophe's avatar Titouan Christophe
Browse files

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: default avatarTitouan Christophe <titouan.christophe@railnova.eu>
parent 140c20fb
......@@ -732,7 +732,7 @@ typedef struct readyList {
no AUTH is needed, and every
connection is immediately
authenticated. */
typedef struct user {
typedef struct {
sds name; /* The username as an SDS string. */
uint64_t flags; /* See USER_FLAG_* */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment