diff postprocess.c @ 66:7737e39e74f3 libpostproc

Make pp_help a constant pointer to constant characters, moves it partially in .rodata (the actual string) and partially in .data.relro (the pointer), but doesn't change ABI. Patch by Diego 'Flameeyes' Petten flameeyes at gmail com
author benoit
date Fri, 04 Jan 2008 07:47:32 +0000
parents 5bef666de27d
children fb2657d1e70d
line wrap: on
line diff
--- a/postprocess.c	Thu Jan 03 08:42:02 2008 +0000
+++ b/postprocess.c	Fri Jan 04 07:47:32 2008 +0000
@@ -697,7 +697,7 @@
 
 /* -pp Command line Help
 */
-char *pp_help=
+const char *const pp_help=
 "Available postprocessing filters:\n"
 "Filters                        Options\n"
 "short  long name       short   long option     Description\n"