summaryrefslogtreecommitdiff
path: root/include/os.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-15 05:19:24 -0800
committerKeith Packard <keithp@keithp.com>2014-01-12 10:14:49 -0800
commitabce3206cbc82f632abae5344e0ce46622e00f24 (patch)
treebb6c1cfc61f79ffc9b57d1becfcd51fc93fbcfa7 /include/os.h
parenta1cb69dc28fdbfbdfaf954e0bec221f759462399 (diff)
os: Clean up warnings
Just const char stuff. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include/os.h')
-rw-r--r--include/os.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/os.h b/include/os.h
index 9b6729421..4dacc1e11 100644
--- a/include/os.h
+++ b/include/os.h
@@ -448,7 +448,7 @@ extern _X_EXPORT void
AddLocalHosts(void);
extern _X_EXPORT void
-ResetHosts(char *display);
+ResetHosts(const char *display);
extern _X_EXPORT void
EnableLocalHost(void);
@@ -471,7 +471,7 @@ RegisterAuthorizations(void);
#endif
extern _X_EXPORT void
-InitAuthorization(char * /*filename */ );
+InitAuthorization(const char * /*filename */ );
/* extern int LoadAuthorization(void); */