summaryrefslogtreecommitdiff
path: root/lib/openat.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-01-13 16:51:48 +0100
committerBruno Haible <bruno@clisp.org>2008-01-13 16:51:48 +0100
commit15834b98efed40c82ee182c367b636e1769cb62a (patch)
treeb3ac8e073bc07c82e8254983f6e5b41cfb0b02b0 /lib/openat.h
parentcba4b79039a1b852ce10a7b2be95e6e8d00ffea0 (diff)
downloadgnulib-15834b98efed40c82ee182c367b636e1769cb62a.tar.gz
Don't redefine __attribute__ without a need.
Diffstat (limited to 'lib/openat.h')
-rw-r--r--lib/openat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/openat.h b/lib/openat.h
index b5e4f116c9..68c7df0b7d 100644
--- a/lib/openat.h
+++ b/lib/openat.h
@@ -1,5 +1,5 @@
/* provide a replacement openat function
- Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2006, 2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@
#include <stdbool.h>
#ifndef __attribute__
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
# define __attribute__(x) /* empty */
# endif
#endif