Commit 22490641 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

Remove leading underscores from specifiers, they are reserved.

Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 064cd7a8
......@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __mmi_H
#define __mmi_H
#ifndef MMI_H
#define MMI_H
#define align16 __attribute__ ((aligned (16)))
......
......@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _SNOW_H
#define _SNOW_H
#ifndef SNOW_H
#define SNOW_H
#include "dsputil.h"
......
......@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _FRAMEHOOK_H
#define _FRAMEHOOK_H
#ifndef FRAMEHOOK_H
#define FRAMEHOOK_H
#warning VHOOK is deprecated. Please help porting libmpcodecs or a better filter system to FFmpeg instead of wasting your time writing new filters for this crappy one.
......
......@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _OS_SUPPORT_H
#define _OS_SUPPORT_H
#ifndef OS_SUPPORT_H
#define OS_SUPPORT_H
/**
* @file os_support.h
......@@ -108,4 +108,4 @@ extern int poll(struct pollfd *fds, nfds_t numfds, int timeout);
#endif /* HAVE_SYS_POLL_H */
#endif /* CONFIG_FFSERVER */
#endif /* _OS_SUPPORT_H */
#endif /* OS_SUPPORT_H */
......@@ -23,8 +23,8 @@
* byte swap.
*/
#ifndef __BSWAP_H__
#define __BSWAP_H__
#ifndef BSWAP_H
#define BSWAP_H
#include <stdint.h>
#include "common.h"
......@@ -138,4 +138,4 @@ static inline uint64_t bswap_64(uint64_t x)
#define le2me_64(x) (x)
#endif
#endif /* __BSWAP_H__ */
#endif /* BSWAP_H */
......@@ -243,7 +243,7 @@ if((y)<(x)){\
#define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
#define strcat strcat_is_forbidden_due_to_security_issues_use_av_strlcat
#define exit exit_is_forbidden
#if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H))
#if !(defined(LIBAVFORMAT_BUILD) || defined(FRAMEHOOK_H))
#define printf please_use_av_log
#define fprintf please_use_av_log
#endif
......
......@@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __MANGLE_H
#define __MANGLE_H
#ifndef MANGLE_H
#define MANGLE_H
/* Feel free to add more to the list, eg. a.out IMO */
/* Use rip-relative addressing if compiling PIC code on x86-64. */
......@@ -43,5 +43,5 @@
#endif
#endif
#endif /* !__MANGLE_H */
#endif /* !MANGLE_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment