bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/4] remove duplicate definitions


From: Akim Demaille
Subject: [PATCH 1/4] remove duplicate definitions
Date: Sun, 16 Dec 2012 15:19:38 +0100

* src/system.h: here, inherited from a merge.
---
 src/system.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/system.h b/src/system.h
index 01cce6d..ea45503 100644
--- a/src/system.h
+++ b/src/system.h
@@ -55,10 +55,6 @@
 #include <unistd.h>
 #include <inttypes.h>
 
-#define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
-#define STREQ(L, R)  (strcmp(L, R) == 0)
-#define STRNEQ(L, R) (!STREQ(L, R))
-
 #ifndef UINTPTR_MAX
 /* This isn't perfect, but it's good enough for Bison, which needs
    only to hash pointers.  */
-- 
1.8.0.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]