permission: improve const-correctness

This commit is contained in:
SF Markus Elfring 2009-10-22 15:10:01 +02:00 committed by Max Kellermann
parent 294aaf7a90
commit a153f21315
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -27,7 +27,7 @@
#define PERMISSION_ADMIN 8
int getPermissionFromPassword(char *password, unsigned *permission);
int getPermissionFromPassword(char const* password, unsigned* permission);
void finishPermissions(void);