summaryrefslogtreecommitdiff
path: root/usr/src/lib/libresolv2/include/sys/cdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libresolv2/include/sys/cdefs.h')
-rw-r--r--usr/src/lib/libresolv2/include/sys/cdefs.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/usr/src/lib/libresolv2/include/sys/cdefs.h b/usr/src/lib/libresolv2/include/sys/cdefs.h
index 9738c69582..67aac00cc7 100644
--- a/usr/src/lib/libresolv2/include/sys/cdefs.h
+++ b/usr/src/lib/libresolv2/include/sys/cdefs.h
@@ -1,9 +1,4 @@
/*
- * Copyright (c) 1997, by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-/*
* ++Copyright++ 1991, 1993
* -
* Copyright (c) 1991, 1993
@@ -60,11 +55,9 @@
/*
* @(#)cdefs.h 8.1 (Berkeley) 6/2/93
- * $Id: cdefs.h,v 1.1 1996/11/22 02:20:19 vixie Exp $
+ * $Id: cdefs.h,v 1.2 2004/07/19 05:54:07 marka Exp $
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifndef _CDEFS_H_
#define _CDEFS_H_
@@ -134,7 +127,7 @@
* these work for GNU C++ (modulo a slight glitch in the C++ grammar
* in the distribution version of 2.5.5).
*/
-#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5
+#if !defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
#define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define __dead __volatile