[x264-devel] [PATCH 06/32] common: Move a function declaration to the appropriate header

Vittorio Giovara vittorio.giovara at gmail.com
Fri Jan 20 15:20:31 CET 2017


---
 common/common.h | 3 ---
 common/osdep.h  | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/common.h b/common/common.h
index 3f71fbc..9183a93 100644
--- a/common/common.h
+++ b/common/common.h
@@ -257,9 +257,6 @@ void  x264_free( void * );
 /* x264_slurp_file: malloc space for the whole file and read it */
 char *x264_slurp_file( const char *filename );
 
-/* mdate: return the current date in microsecond */
-int64_t x264_mdate( void );
-
 /* x264_param2string: return a (malloced) string containing most of
  * the encoding options */
 char *x264_param2string( x264_param_t *p, int b_res );
diff --git a/common/osdep.h b/common/osdep.h
index e3152d0..101fd71 100644
--- a/common/osdep.h
+++ b/common/osdep.h
@@ -92,6 +92,9 @@ int x264_stat( const char *path, x264_struct_stat *buf );
 #define x264_stat        stat
 #endif
 
+/* mdate: return the current date in microsecond */
+int64_t x264_mdate( void );
+
 #if defined(_WIN32) && !HAVE_WINRT
 int x264_vfprintf( FILE *stream, const char *format, va_list arg );
 int x264_is_pipe( const char *path );
-- 
2.10.0



More information about the x264-devel mailing list