[vlc-devel] [PATCH] vlc_common.h: remove unused CEIL and PAD macros
Steve Lhomme
robux4 at videolabs.io
Fri Mar 17 09:47:30 CET 2017
---
include/vlc_common.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index b72dbfe689..711d5af7b4 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -490,12 +490,6 @@ struct vlc_common_members
* Macros and inline functions
*****************************************************************************/
-/* CEIL: division with round to nearest greater integer */
-#define CEIL(n, d) ( ((n) / (d)) + ( ((n) % (d)) ? 1 : 0) )
-
-/* PAD: PAD(n, d) = CEIL(n ,d) * d */
-#define PAD(n, d) ( ((n) % (d)) ? ((((n) / (d)) + 1) * (d)) : (n) )
-
/* __MAX and __MIN: self explanatory */
#ifndef __MAX
# define __MAX(a, b) ( ((a) > (b)) ? (a) : (b) )
--
2.11.1
More information about the vlc-devel
mailing list