diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-21 08:49:57 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-21 08:52:29 +0100 |
commit | 11925eef789566a226d8eaacbceb4d89df787ebc (patch) | |
tree | d9012073fa76528fd205eed96cc016d566f7c89d /cpukit/pppd | |
parent | db44590c1d4318eebc99f4ad56de59e5dd68fe1b (diff) |
Delete or rename MIN/MAX macros and defines
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
Diffstat (limited to 'cpukit/pppd')
-rw-r--r-- | cpukit/pppd/pppd.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cpukit/pppd/pppd.h b/cpukit/pppd/pppd.h index 8655f82783..98c49e8f20 100644 --- a/cpukit/pppd/pppd.h +++ b/cpukit/pppd/pppd.h @@ -25,7 +25,7 @@ #include <stdbool.h> /* bool */ #include <stdio.h> /* for FILE */ #include <limits.h> /* for NGROUPS_MAX */ -#include <sys/param.h> /* for MAXPATHLEN and BSD4_4, if defined */ +#include <sys/param.h> #include <sys/types.h> /* for uint32_t, if defined */ #include <sys/time.h> /* for struct timeval */ #include <net/ppp_defs.h> @@ -653,11 +653,4 @@ extern void (*auth_linkdown_hook)(void); #endif /* defined(sun) || defined(SYSV) || defined(POSIX_SOURCE) */ #endif /* SIGTYPE */ -#ifndef MIN -#define MIN(a, b) ((a) < (b)? (a): (b)) -#endif -#ifndef MAX -#define MAX(a, b) ((a) > (b)? (a): (b)) -#endif - #endif /* __PPP_H__ */ |