mv __arraycount() define to file.h FILE5_09
authorChristos Zoulas <christos@zoulas.com>
Fri, 16 Sep 2011 21:23:59 +0000 (21:23 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 16 Sep 2011 21:23:59 +0000 (21:23 +0000)
src/cdf.c
src/file.h

index de3fec10dff8487b4b1e201092bcec86fdd33189..aa2f0436f2e27712c2ed3ec132ba37f3ce1235df 100644 (file)
--- a/src/cdf.c
+++ b/src/cdf.c
@@ -35,7 +35,7 @@
 #include "file.h"
 
 #ifndef lint
-FILE_RCSID("@(#)$File: cdf.c,v 1.44 2011/08/26 13:38:28 christos Exp $")
+FILE_RCSID("@(#)$File: cdf.c,v 1.45 2011/08/28 08:38:48 christos Exp $")
 #endif
 
 #include <assert.h>
@@ -57,10 +57,6 @@ FILE_RCSID("@(#)$File: cdf.c,v 1.44 2011/08/26 13:38:28 christos Exp $")
 
 #include "cdf.h"
 
-#ifndef __arraycount
-#define __arraycount(a) (sizeof(a) / sizeof(a[0]))
-#endif
-
 #ifdef CDF_DEBUG
 #define DPRINTF(a) printf a, fflush(stdout)
 #else
index fad9efcbbcad0d7b382079fb7bd085047825e06b..439e291d869ca49b9c90754d91ac02349e5e9c86 100644 (file)
@@ -27,7 +27,7 @@
  */
 /*
  * file.h - definitions for file(1) program
- * @(#)$File: file.h,v 1.132 2011/03/20 20:36:52 christos Exp $
+ * @(#)$File: file.h,v 1.133 2011/05/13 22:15:40 christos Exp $
  */
 
 #ifndef __file_h__
 #endif
 #define public
 
+#ifndef __arraycount
+#define __arraycount(a) (sizeof(a) / sizeof(a[0]))
+#endif
+
 #ifndef __GNUC_PREREQ__
 #ifdef __GNUC__
 #define        __GNUC_PREREQ__(x, y)                                           \