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);
|
||||
}
|
||||
|
||||
int getPermissionFromPassword(char *password, unsigned *permission)
|
||||
int getPermissionFromPassword(char const* password, unsigned* permission)
|
||||
{
|
||||
bool found;
|
||||
gpointer key, value;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#define PERMISSION_ADMIN 8
|
||||
|
||||
|
||||
int getPermissionFromPassword(char *password, unsigned *permission);
|
||||
int getPermissionFromPassword(char const* password, unsigned* permission);
|
||||
|
||||
void finishPermissions(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue