summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-19 02:06:52 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-19 02:06:52 -0700
commitf1d090e13a46d30a14089de0575dbb2fc44a583a (patch)
tree624b91fdb3cc5dd958359a46fd3630ab753af478 /cache.h
parent75ea6911d64bbe1b202eed61eda3ebaa4d76cb99 (diff)
downloadgit-f1d090e13a46d30a14089de0575dbb2fc44a583a.tar.gz
Fix __attribute__ changes.
It cannot be checked with #ifndef, if you really think about what it does which cannot be done only with the preprocessor. My thinko. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index 996466795f..ba5c4ab7ee 100644
--- a/cache.h
+++ b/cache.h
@@ -38,11 +38,10 @@
#define NORETURN __attribute__((__noreturn__))
#else
#define NORETURN
-#endif
-
#ifndef __attribute__
#define __attribute__(x)
#endif
+#endif
/*
* Intensive research over the course of many years has shown that