summaryrefslogtreecommitdiffstats
path: root/sesman/env.h
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-10-16 23:14:06 -0700
committerPavel Roskin <plroskin@gmail.com>2016-10-17 08:54:07 -0700
commit6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3 (patch)
tree6d1c34a0f0b598b802af3fdcf31c40d0ad1b64c4 /sesman/env.h
parentbc868b96b1a88085cf141428ef8c72f5cd496c2e (diff)
downloadxrdp-proprietary-6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3.tar.gz
xrdp-proprietary-6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3.zip
Use const pointers in function arguments when possible
Diffstat (limited to 'sesman/env.h')
-rw-r--r--sesman/env.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sesman/env.h b/sesman/env.h
index 23828080..a7156508 100644
--- a/sesman/env.h
+++ b/sesman/env.h
@@ -38,7 +38,7 @@
*
*/
int DEFAULT_CC
-env_check_password_file(char* filename, char* password);
+env_check_password_file(const char *filename, const char *password);
/**
*
@@ -50,7 +50,7 @@ env_check_password_file(char* filename, char* password);
*
*/
int DEFAULT_CC
-env_set_user(char* username, char** passwd_file, int display,
- struct list *env_names, struct list* env_values);
+env_set_user(const char *username, char **passwd_file, int display,
+ const struct list *env_names, const struct list *env_values);
#endif