summaryrefslogtreecommitdiff
path: root/user.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 11:55:03 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 11:55:03 +0800
commit0d42b3819bd7830061a9f0a3d2ac9cc473811f6f (patch)
tree52a6986c886f0f454ca01284eab4c9c44aeedbf4 /user.c
parentdfa12d6b50e7af934095448daee8b99e2855afdd (diff)
Give user namespace to lang and timezone
Diffstat (limited to 'user.c')
-rw-r--r--user.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/user.c b/user.c
index 9c7f94b..b63c7d8 100644
--- a/user.c
+++ b/user.c
@@ -25,8 +25,8 @@ void rtclient_user_new(const char *name
, const char *comments
, const char *signature
, const char *gecos
- , enum rtclient_lang lang
- , enum rtclient_timezone timezone
+ , enum rtclient_user_lang lang
+ , enum rtclient_user_timezone timezone
, bool disabled
, bool privileged)
{
@@ -205,8 +205,8 @@ static inline void user_init(rtclient_user **userptr)
user->comments = NULL;
user->signature = NULL;
user->gecos = NULL;
- user->lang = RTCLIENT_LANG_NONE;
- user->timezone = RTCLIENT_TIMEZONE_NONE;
+ user->lang = RTCLIENT_USER_LANG_NONE;
+ user->timezone = RTCLIENT_USER_TIMEZONE_NONE;
user->privileged = false;
user->disabled = true;
}