Skip to content

Commit 26325cc

Browse files
committed
avutil/internal: Remove unused FF_SYMVER
They are unused since d63443b. Furthermore, they were always in the wrong header: libavutil/internal.h is auto-included almost everywhere, but FF_SYMVER would only ever be used at a few places, so a proper header of its own would be appropriate for it. Signed-off-by: Andreas Rheinhardt <[email protected]>
1 parent 5b0856d commit 26325cc

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

libavutil/internal.h

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -117,34 +117,6 @@
117117
# define NULL_IF_CONFIG_SMALL(x) x
118118
#endif
119119

120-
/**
121-
* Define a function with only the non-default version specified.
122-
*
123-
* On systems with ELF shared libraries, all symbols exported from
124-
* FFmpeg libraries are tagged with the name and major version of the
125-
* library to which they belong. If a function is moved from one
126-
* library to another, a wrapper must be retained in the original
127-
* location to preserve binary compatibility.
128-
*
129-
* Functions defined with this macro will never be used to resolve
130-
* symbols by the build-time linker.
131-
*
132-
* @param type return type of function
133-
* @param name name of function
134-
* @param args argument list of function
135-
* @param ver version tag to assign function
136-
*/
137-
#if HAVE_SYMVER_ASM_LABEL
138-
# define FF_SYMVER(type, name, args, ver) \
139-
type ff_##name args __asm__ (EXTERN_PREFIX #name "@" ver); \
140-
type ff_##name args
141-
#elif HAVE_SYMVER_GNU_ASM
142-
# define FF_SYMVER(type, name, args, ver) \
143-
__asm__ (".symver ff_" #name "," EXTERN_PREFIX #name "@" ver); \
144-
type ff_##name args; \
145-
type ff_##name args
146-
#endif
147-
148120
/**
149121
* Return NULL if a threading library has not been enabled.
150122
* Used to disable threading functions in AVCodec definitions

0 commit comments

Comments
 (0)