summaryrefslogtreecommitdiff
path: root/gl/lib/randread.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-03-14 12:48:44 +0100
committerJim Meyering <meyering@redhat.com>2009-03-15 08:17:41 +0100
commit20d523bfa252b184f489a9de91ad9c9a9c021e19 (patch)
tree5483ed5565ade8709ed4ea137d2e8a163a28c382 /gl/lib/randread.c
parentbd23509bef79b7d984f8a484e58d767adce9847f (diff)
downloadcoreutils-20d523bfa252b184f489a9de91ad9c9a9c021e19.tar.xz
maint: remove unused include and definitions
* gl/lib/randread.c (__attribute__): Remove unused definition. (ATTRIBUTE_UNUSED): Likewise. * gl/lib/selinux-at.c (_): Remove unused definition. Don't include <gettext.h>. No longer needed.
Diffstat (limited to 'gl/lib/randread.c')
-rw-r--r--gl/lib/randread.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/gl/lib/randread.c b/gl/lib/randread.c
index 8dfb899a9..b81a4510b 100644
--- a/gl/lib/randread.c
+++ b/gl/lib/randread.c
@@ -1,6 +1,6 @@
/* Generate buffers of random data.
- Copyright (C) 2006, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2008-2009 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
@@ -43,16 +43,6 @@
# define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif
-#ifndef __attribute__
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
-# define __attribute__(x)
-# endif
-#endif
-
-#ifndef ATTRIBUTE_UNUSED
-# define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
-#endif
-
#if _STRING_ARCH_unaligned
# define ALIGNED_POINTER(ptr, type) true
#else