summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-07-16 04:34:18 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-07-16 04:34:18 -0400
commit58ec53e44bb2b00bc104324a0f32e19dcab2ad34 (patch)
treee8db0567eb7abefca2b9fb91215af24ef885cac4 /src/Makefile.am
parent05814df9c0be77ff0168a22415e2282d093df5d5 (diff)
constify deftwmrc[], to fix gcc-stricter warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ba9c7b9..1f46e09 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -77,8 +77,8 @@ deftwmrc.c: system.twmrc
echo ' * twm bindings file system.twmrc by the twm Makefile.' >>$@ ; \
echo ' */' >>$@ ; \
echo '' >>$@ ; \
- echo 'unsigned char *defTwmrc[] = {' >>$@ ; \
+ echo 'const unsigned char *defTwmrc[] = {' >>$@ ; \
$(SED) -f ${srcdir}/deftwmrc.sed < ${srcdir}/system.twmrc >>$@ ; \
- echo ' (unsigned char *) 0 };' >>$@
+ echo ' (const unsigned char *) 0 };' >>$@
EXTRA_DIST = deftwmrc.sed siconify.bm