]> granicus.if.org Git - graphviz/commitdiff
const'ify ps_txt
authorellson <devnull@localhost>
Tue, 2 Sep 2008 18:06:40 +0000 (18:06 +0000)
committerellson <devnull@localhost>
Tue, 2 Sep 2008 18:06:40 +0000 (18:06 +0000)
move ps.txt and generated ps.h into core plugin, and initially copy to lasi plugin

awk/stringize.awk

index 9c4263f5219f440cda68c73ea3582c16dc0474d5..6b4a2cf498e6241906e08077dabba09aad3152b6 100755 (executable)
@@ -12,7 +12,7 @@
 # *              AT&T Research, Florham Park NJ             *
 # **********************************************************/
 
-BEGIN  { s = ARGV[1]; gsub (".*/", "", s); gsub("\\.","_",s); printf("char *%s[] = {\n",s); }
+BEGIN  { s = ARGV[1]; gsub (".*/", "", s); gsub("\\.","_",s); printf("const char *%s[] = {\n",s); }
 /^#/   { print $0; next; }
                { gsub("\\\\","\\\\",$0); printf("\"%s\",\n",$0); }
 END            { printf("(char*)0 };\n"); }