summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-03-21 14:40:36 +0100
committerJim Meyering <meyering@redhat.com>2010-03-21 15:03:49 +0100
commit745922cf506b73fef140c4638777a5a9aa40c61c (patch)
tree0a8607e64141342b1886b7cc141ba6bbe011347e /src/system.h
parent3ed4e064845af85aa0de661dbe7d1369f4c965b6 (diff)
downloadgrep-745922cf506b73fef140c4638777a5a9aa40c61c.tar.gz
maint: remove TYPE_* definitions from src/system.h
* src/system.h (TYPE_MAXIMUM, TYPE_MINIMUM, TYPE_SIGNED): Remove definitions. They are provided by intprops.h. * src/grep.c: Include "intprops.h" * bootstrap.conf (gnulib_modules): Add intprops.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/system.h b/src/system.h
index 3595832b..4398a5f8 100644
--- a/src/system.h
+++ b/src/system.h
@@ -41,13 +41,6 @@
enum { EXIT_TROUBLE = 2 };
-/* The extra casts work around common compiler bugs. */
-#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))
-#define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \
- ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) \
- : (t) 0))
-#define TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t)))
-
#ifndef isgraph
# define isgraph(C) (isprint(C) && !isspace(C))
#endif