permission: improve const-correctness
This commit is contained in:
parent
294aaf7a90
commit
a153f21315
|
@ -111,7 +111,7 @@ void initPermissions(void)
|
||||||
permission_default = parsePermissions(param->value);
|
permission_default = parsePermissions(param->value);
|
||||||
}
|
}
|
||||||
|
|
||||||
int getPermissionFromPassword(char *password, unsigned *permission)
|
int getPermissionFromPassword(char const* password, unsigned* permission)
|
||||||
{
|
{
|
||||||
bool found;
|
bool found;
|
||||||
gpointer key, value;
|
gpointer key, value;
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#define PERMISSION_ADMIN 8
|
#define PERMISSION_ADMIN 8
|
||||||
|
|
||||||
|
|
||||||
int getPermissionFromPassword(char *password, unsigned *permission);
|
int getPermissionFromPassword(char const* password, unsigned* permission);
|
||||||
|
|
||||||
void finishPermissions(void);
|
void finishPermissions(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue