comparison 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
comparison
equal deleted inserted replaced
135:d314358f201d 136:16770fc77139
284 if (n) new_line(); 284 if (n) new_line();
285 } 285 }
286 } 286 }
287 287
288 288
289 static void print_pdf_only(const char *line, int color); 289 static void print_pdf_only(char *line, int color);
290 static void print_pdf_only(const char *line, int color) 290 static void print_pdf_only(char *line, int color)
291 { 291 {
292 char *p; 292 char *p;
293 while ((p = strchr(line, '\n'))) { 293 while ((p = strchr(line, '\n'))) {
294 *p = '\0'; 294 *p = '\0';
295 print_pdf_single(line, color); 295 print_pdf_single(line, color);
299 } 299 }
300 print_pdf_single(line, color); 300 print_pdf_single(line, color);
301 } 301 }
302 302
303 303
304 static void print_pdf(const char *line); 304 static void print_pdf(char *line);
305 static void print_pdf(const char *line) 305 static void print_pdf(char *line)
306 { 306 {
307 pst_fwrite(line, 1, strlen(line), dii_file); 307 pst_fwrite(line, 1, strlen(line), dii_file);
308 print_pdf_only(line, black); 308 print_pdf_only(line, black);
309 } 309 }
310 310