diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-01-09 23:15:14 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-01-18 20:29:53 +0100 |
commit | ef5d41a5534b65f03d02f2e11a503ab8416bfc3b (patch) | |
tree | 91c6e92aaf79dfc12014b890c3c1ca7a10b3c949 /libavutil | |
parent | 6d1114a806afc1f37e2f6b7f58bbe07e60bb6897 (diff) | |
download | ffmpeg-ef5d41a5534b65f03d02f2e11a503ab8416bfc3b.tar.gz |
x86inc: Rename "program_name" to "private_prefix"
The new name is more descriptive and will allow defining a separate
public prefix for externally visible library symbols.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/x86/x86inc.asm | 10 | ||||
-rw-r--r-- | libavutil/x86/x86util.asm | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm index 2617cdf273..4d8d0db2c7 100644 --- a/libavutil/x86/x86inc.asm +++ b/libavutil/x86/x86inc.asm @@ -34,8 +34,8 @@ ; as this feature might be useful for others as well. Send patches or ideas ; to x264-devel@videolan.org . -%ifndef program_name - %define program_name x264 +%ifndef private_prefix + %define private_prefix x264 %endif %define WIN64 0 @@ -631,7 +631,7 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14 %endmacro %macro cglobal_internal 1-2+ %ifndef cglobaled_%1 - %xdefine %1 mangle(program_name %+ _ %+ %1) + %xdefine %1 mangle(private_prefix %+ _ %+ %1) %xdefine %1.skip_prologue %1 %+ .skip_prologue CAT_XDEFINE cglobaled_, %1, 1 %endif @@ -655,7 +655,7 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14 %endmacro %macro cextern 1 - %xdefine %1 mangle(program_name %+ _ %+ %1) + %xdefine %1 mangle(private_prefix %+ _ %+ %1) CAT_XDEFINE cglobaled_, %1, 1 extern %1 %endmacro @@ -668,7 +668,7 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14 %endmacro %macro const 2+ - %xdefine %1 mangle(program_name %+ _ %+ %1) + %xdefine %1 mangle(private_prefix %+ _ %+ %1) global %1 %1: %2 %endmacro diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index 551c40a4b5..40738c9c4c 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -23,7 +23,7 @@ ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;****************************************************************************** -%define program_name ff +%define private_prefix ff %define cpuflags_mmxext cpuflags_mmx2 %include "libavutil/x86/x86inc.asm" |