Mercurial > libpostproc.hg
diff postprocess.c @ 70:6539cfc12739 libpostproc
Make pp_help a constant array of characters to move it to .rodata.
Patch by Diego 'Flameeyes' Petten flameeyes gmail ! com
author | benoit |
---|---|
date | Thu, 10 Jan 2008 10:16:36 +0000 |
parents | afd400fd0923 |
children | d72d8c7c4903 |
line wrap: on
line diff
--- a/postprocess.c Thu Jan 10 10:15:07 2008 +0000 +++ b/postprocess.c Thu Jan 10 10:16:36 2008 +0000 @@ -694,7 +694,11 @@ /* -pp Command line Help */ +#if LIBPOSTPROC_VERSION_INT < (52<<16) const char *const pp_help= +#else +const char pp_help[] = +#endif "Available postprocessing filters:\n" "Filters Options\n" "short long name short long option Description\n"