diff options
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/deftwmrc.sed | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/src/deftwmrc.sed b/src/deftwmrc.sed index d26926a..30f8c27 100644 --- a/src/deftwmrc.sed +++ b/src/deftwmrc.sed @@ -1,4 +1,4 @@ /^#/d s/"/\\"/g -s/^/ (unsigned char *) "/ +s/^/ (const unsigned char *) "/ s/$/",/ |