From 41600690673d6e49026c3309c708d6da17c603c6 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 3 Jan 2010 14:31:25 +0000 Subject: [PATCH] Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and XXX_license() functions, consistent with the rest of FFmpeg. Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 4 ++-- libavcodec/utils.c | 4 ++-- libavfilter/avfilter.c | 4 ++-- libavfilter/avfilter.h | 4 ++-- libavformat/avformat.h | 4 ++-- libavformat/utils.c | 4 ++-- libavutil/avutil.h | 4 ++-- libavutil/utils.c | 4 ++-- libpostproc/postprocess.c | 4 ++-- libpostproc/postprocess.h | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index bb31919c44..e7b9752331 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3083,12 +3083,12 @@ unsigned avcodec_version(void); /** * Returns the libavcodec build-time configuration. */ -const char * avcodec_configuration(void); +const char *avcodec_configuration(void); /** * Returns the libavcodec license. */ -const char * avcodec_license(void); +const char *avcodec_license(void); /** * Initializes libavcodec. diff --git a/libavcodec/utils.c b/libavcodec/utils.c index d91cbc0428..99c97c1895 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -895,12 +895,12 @@ unsigned avcodec_version( void ) return LIBAVCODEC_VERSION_INT; } -const char * avcodec_configuration(void) +const char *avcodec_configuration(void) { return FFMPEG_CONFIGURATION; } -const char * avcodec_license(void) +const char *avcodec_license(void) { #define LICENSE_PREFIX "libavcodec license: " return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index eb0a868273..41fd0827bc 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -28,12 +28,12 @@ unsigned avfilter_version(void) { return LIBAVFILTER_VERSION_INT; } -const char * avfilter_configuration(void) +const char *avfilter_configuration(void) { return FFMPEG_CONFIGURATION; } -const char * avfilter_license(void) +const char *avfilter_license(void) { #define LICENSE_PREFIX "libavfilter license: " return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index dbdebfc76e..dba73f8f4b 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -47,12 +47,12 @@ unsigned avfilter_version(void); /** * Returns the libavfilter build-time configuration. */ -const char * avfilter_configuration(void); +const char *avfilter_configuration(void); /** * Returns the libavfilter license. */ -const char * avfilter_license(void); +const char *avfilter_license(void); typedef struct AVFilterContext AVFilterContext; diff --git a/libavformat/avformat.h b/libavformat/avformat.h index a21cfa4360..f13a09950a 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -43,12 +43,12 @@ unsigned avformat_version(void); /** * Returns the libavformat build-time configuration. */ -const char * avformat_configuration(void); +const char *avformat_configuration(void); /** * Returns the libavformat license. */ -const char * avformat_license(void); +const char *avformat_license(void); #include #include /* FILE */ diff --git a/libavformat/utils.c b/libavformat/utils.c index fe85790504..b903337d34 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -41,12 +41,12 @@ unsigned avformat_version(void) return LIBAVFORMAT_VERSION_INT; } -const char * avformat_configuration(void) +const char *avformat_configuration(void) { return FFMPEG_CONFIGURATION; } -const char * avformat_license(void) +const char *avformat_license(void) { #define LICENSE_PREFIX "libavformat license: " return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; diff --git a/libavutil/avutil.h b/libavutil/avutil.h index 4aab0432ba..f2d2b07574 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -56,12 +56,12 @@ unsigned avutil_version(void); /** * Returns the libavutil build-time configuration. */ -const char * avutil_configuration(void); +const char *avutil_configuration(void); /** * Returns the libavutil license. */ -const char * avutil_license(void); +const char *avutil_license(void); #include "common.h" #include "mathematics.h" diff --git a/libavutil/utils.c b/libavutil/utils.c index 26499b8389..452198703b 100644 --- a/libavutil/utils.c +++ b/libavutil/utils.c @@ -29,12 +29,12 @@ unsigned avutil_version(void) return LIBAVUTIL_VERSION_INT; } -const char * avutil_configuration(void) +const char *avutil_configuration(void) { return FFMPEG_CONFIGURATION; } -const char * avutil_license(void) +const char *avutil_license(void) { #define LICENSE_PREFIX "libavutil license: " return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index 9bb9468311..04c1fa8bd3 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -92,12 +92,12 @@ unsigned postproc_version(void) return LIBPOSTPROC_VERSION_INT; } -const char * postproc_configuration(void) +const char *postproc_configuration(void) { return FFMPEG_CONFIGURATION; } -const char * postproc_license(void) +const char *postproc_license(void) { #define LICENSE_PREFIX "libpostproc license: " return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h index 5f23bb240f..6c38eb3427 100644 --- a/libpostproc/postprocess.h +++ b/libpostproc/postprocess.h @@ -51,12 +51,12 @@ unsigned postproc_version(void); /** * Returns the libpostproc build-time configuration. */ -const char * postproc_configuration(void); +const char *postproc_configuration(void); /** * Returns the libpostproc license. */ -const char * postproc_license(void); +const char *postproc_license(void); #define PP_QUALITY_MAX 6