INN commit: trunk/include (clibrary.h inn/macros.h)

INN Commit rra at isc.org
Mon Dec 1 21:25:33 UTC 2014


    Date: Monday, December 1, 2014 @ 13:25:33
  Author: iulius
Revision: 9757

Move PIPE_READ and PIPE_WRITE from clibrary.h to inn/macros.h

Modified:
  trunk/include/clibrary.h
  trunk/include/inn/macros.h

--------------+
 clibrary.h   |    4 ----
 inn/macros.h |    4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: clibrary.h
===================================================================
--- clibrary.h	2014-12-01 21:21:11 UTC (rev 9756)
+++ clibrary.h	2014-12-01 21:25:33 UTC (rev 9757)
@@ -182,10 +182,6 @@
     (sizeof(*(sun)) - sizeof((sun)->sun_path) + strlen((sun)->sun_path))
 #endif
 
-/* Used to name the elements of the array passed to pipe(). */
-#define PIPE_READ       0
-#define PIPE_WRITE      1
-
 /* C99 requires va_copy.  Older versions of GCC provide __va_copy.  Per the
    Autoconf manual, memcpy is a generally portable fallback. */
 #ifndef va_copy

Modified: inn/macros.h
===================================================================
--- inn/macros.h	2014-12-01 21:21:11 UTC (rev 9756)
+++ inn/macros.h	2014-12-01 21:25:33 UTC (rev 9757)
@@ -30,6 +30,10 @@
 #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
 #define ARRAY_END(array)  (&(array)[ARRAY_SIZE(array)])
 
+/* Used to name the elements of the array passed to pipe. */
+#define PIPE_READ  0
+#define PIPE_WRITE 1
+
 /* Used for unused parameters to silence gcc warnings. */
 #define UNUSED __attribute__((__unused__))
 



More information about the inn-committers mailing list