diff options
author | 2009-08-27 16:26:42 +0000 | |
---|---|---|
committer | 2009-08-27 16:26:42 +0000 | |
commit | bbedda662fae9c66ddbdc65daeb2d78407a46238 (patch) | |
tree | 3ae4e92fb8d68d29627274a5d6a18442326c01ba /usr.bin/file/file.h | |
parent | Don't stop traversing a directory hierarchy if we reach SHRT_MAX, (diff) | |
download | wireguard-openbsd-bbedda662fae9c66ddbdc65daeb2d78407a46238.tar.xz wireguard-openbsd-bbedda662fae9c66ddbdc65daeb2d78407a46238.zip |
Appease gcc2 (I wish people would write in C, rather than "latest crap
gcc added")
ok millert miod
Diffstat (limited to 'usr.bin/file/file.h')
-rw-r--r-- | usr.bin/file/file.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/file/file.h b/usr.bin/file/file.h index 13d7ece44dc..5cef2e7e2b3 100644 --- a/usr.bin/file/file.h +++ b/usr.bin/file/file.h @@ -1,4 +1,4 @@ -/* $OpenBSD: file.h,v 1.20 2009/04/24 18:54:34 chl Exp $ */ +/* $OpenBSD: file.h,v 1.21 2009/08/27 16:26:43 deraadt Exp $ */ /* * Copyright (c) Ian F. Darwin 1986-1995. * Software written by Ian F. Darwin and others; @@ -28,7 +28,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$Id: file.h,v 1.20 2009/04/24 18:54:34 chl Exp $ + * @(#)$Id: file.h,v 1.21 2009/08/27 16:26:43 deraadt Exp $ */ #ifndef __file_h__ @@ -382,7 +382,7 @@ int asprintf(char **ptr, const char *format_string, ...); #define O_BINARY 0 #endif -#ifdef __GNUC__ +#if defined(__GNUC__) && (__GNUC__ >= 3) static const char *rcsid(const char *) __attribute__((__used__)); #endif #define FILE_RCSID(id) \ |