Mercurial > libpostproc.hg
diff postprocess.h @ 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 | 6539cfc12739 |
line wrap: on
line diff
--- a/postprocess.h Thu Jan 03 08:42:02 2008 +0000 +++ b/postprocess.h Fri Jan 04 07:47:32 2008 +0000 @@ -42,7 +42,7 @@ typedef void pp_context_t; typedef void pp_mode_t; -extern char *pp_help; ///< a simple help text +extern const char *const pp_help; ///< a simple help text void pp_postprocess(uint8_t * src[3], int srcStride[3], uint8_t * dst[3], int dstStride[3],