summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/od.c8
-rw-r--r--src/sys2.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/od.c b/src/od.c
index b6906f413..d72ffc11d 100644
--- a/src/od.c
+++ b/src/od.c
@@ -46,14 +46,6 @@ typedef double LONG_DOUBLE;
# include <values.h>
#endif
-#ifndef MAX
-# define MAX(a, b) ((a) > (b) ? (a) : (b))
-#endif
-
-#ifndef MIN
-# define MIN(a,b) (((a) < (b)) ? (a) : (b))
-#endif
-
/* The default number of input bytes per output line. */
#define DEFAULT_BYTES_PER_BLOCK 16
diff --git a/src/sys2.h b/src/sys2.h
index b1d25f838..a58e94826 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -274,3 +274,11 @@ char *base_name PARAMS ((char const *));
close_stdout (); \
exit (EXIT_SUCCESS); \
break;
+
+#ifndef MAX
+# define MAX(a, b) ((a) > (b) ? (a) : (b))
+#endif
+
+#ifndef MIN
+# define MIN(a,b) (((a) < (b)) ? (a) : (b))
+#endif