summaryrefslogtreecommitdiff
path: root/Xtranssock.c
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2013-07-09 16:24:43 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 23:42:39 -0700
commitf6a161f2a003f4da0a2e414b4faa0ee0de0c01f0 (patch)
treee41fac47857ecc890ff73fdbe61954d9096fc70d /Xtranssock.c
parentbd53f4c8543faf910a7a151241ee07661b4d57ad (diff)
downloadxorg-lib-libxtrans-f6a161f2a003f4da0a2e414b4faa0ee0de0c01f0.tar.gz
Add const qualifier to unix_nolisten
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtranssock.c')
-rw-r--r--Xtranssock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtranssock.c b/Xtranssock.c
index dfa41cf..24269b2 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -2429,7 +2429,7 @@ Xtransport TRANS(SocketLocalFuncs) = {
#endif /* !LOCALCONN */
# ifdef TRANS_SERVER
# if !defined(LOCALCONN)
-static char* unix_nolisten[] = { "local" , NULL };
+static const char* unix_nolisten[] = { "local" , NULL };
# endif
# endif