summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/untar/untar.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-21 08:49:57 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-21 08:52:29 +0100
commit11925eef789566a226d8eaacbceb4d89df787ebc (patch)
treed9012073fa76528fd205eed96cc016d566f7c89d /cpukit/libmisc/untar/untar.c
parentsmpschedaffinity05: Change semaphore attributes. (diff)
downloadrtems-11925eef789566a226d8eaacbceb4d89df787ebc.tar.bz2
Delete or rename MIN/MAX macros and defines
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/untar/untar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libmisc/untar/untar.c b/cpukit/libmisc/untar/untar.c
index 31af31cde2..04a2d89deb 100644
--- a/cpukit/libmisc/untar/untar.c
+++ b/cpukit/libmisc/untar/untar.c
@@ -23,6 +23,7 @@
#include "config.h"
#endif
+#include <sys/param.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -66,9 +67,6 @@
#define MAX_NAME_FIELD_SIZE 99
-#define MIN(a,b) ((a)>(b)?(b):(a))
-
-
/**************************************************************************
* This converts octal ASCII number representations into an
* unsigned long. Only support 32-bit numbers for now.