summaryrefslogtreecommitdiff
path: root/file2header.sh
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-17 01:47:51 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-17 01:47:51 +0000
commitb71db0acb9e8c294d22ec29ea286ff79d09b7527 (patch)
tree9ebd2a4adf827e4d575b7d87f0b2a89a0f34a5c7 /file2header.sh
parent4130241809f46e6177b7a385ebd4a4dd7846b882 (diff)
downloadirssi-b71db0acb9e8c294d22ec29ea286ff79d09b7527.zip
use const char *
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@485 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'file2header.sh')
-rwxr-xr-xfile2header.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/file2header.sh b/file2header.sh
index c3729d37..8b37b8eb 100755
--- a/file2header.sh
+++ b/file2header.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-echo "gchar *default_config ="
+echo "const char *default_config ="
cat $1|sed 's/\\/\\\\/g'|sed 's/"/\\"/g'|sed 's/^/\"/'|sed 's/$/\\n\"/'
echo ";"