summaryrefslogtreecommitdiffstats
path: root/src/account/aux_lu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/account/aux_lu.h')
-rw-r--r--src/account/aux_lu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/account/aux_lu.h b/src/account/aux_lu.h
index 91383d4..338adef 100644
--- a/src/account/aux_lu.h
+++ b/src/account/aux_lu.h
@@ -21,10 +21,13 @@
#ifndef AUX_LU_H
#define AUX_LU_H
+// for GValueArray
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
#include <libuser/entity.h>
#include <libuser/user.h>
-char* aux_lu_get_str(struct lu_ent*, char*);
+const char* aux_lu_get_str(struct lu_ent*, char*);
long aux_lu_get_long(struct lu_ent*, char*);
/* Get the latest login time for given user name */