diff src/pst2dii.cpp.in @ 136:16770fc77139

fix for const correctness on Fedora 11
author Carl Byington <carl@five-ten-sg.com>
date Sat, 07 Feb 2009 09:29:29 -0800
parents fc11b1d1ad34
children fdc58ad2c758
line wrap: on
line diff
--- a/src/pst2dii.cpp.in	Sat Feb 07 08:25:11 2009 -0800
+++ b/src/pst2dii.cpp.in	Sat Feb 07 09:29:29 2009 -0800
@@ -286,8 +286,8 @@
 }
 
 
-static void print_pdf_only(const char *line, int color);
-static void print_pdf_only(const char *line, int color)
+static void print_pdf_only(char *line, int color);
+static void print_pdf_only(char *line, int color)
 {
     char *p;
     while ((p = strchr(line, '\n'))) {
@@ -301,8 +301,8 @@
 }
 
 
-static void print_pdf(const char *line);
-static void print_pdf(const char *line)
+static void print_pdf(char *line);
+static void print_pdf(char *line)
 {
     pst_fwrite(line, 1, strlen(line), dii_file);
     print_pdf_only(line, black);