projects
/
platform
/
upstream
/
bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d42e695
)
remove duplicate definitions
author
Akim Demaille
<akim@lrde.epita.fr>
Sat, 15 Dec 2012 15:20:51 +0000
(16:20 +0100)
committer
Akim Demaille
<akim@lrde.epita.fr>
Sat, 15 Dec 2012 16:21:07 +0000
(17:21 +0100)
* src/system.h: here, inherited from a merge.
src/system.h
patch
|
blob
|
history
diff --git
a/src/system.h
b/src/system.h
index
01cce6d
..
ea45503
100644
(file)
--- 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. */