Remove duplicate definitions of MIN and MAX.

These were needed when bionic's header files were missing these macros (though
it would have made a lot more sense to just fix the header files!) but cause
warnings now.

Change-Id: I65a677122f4f6bd07dffc3f37a0c4c0e823d1bb0
This commit is contained in:
Elliott Hughes 2014-02-17 10:57:56 -08:00
parent 95b808c4ae
commit cfbfe7059c
2 changed files with 0 additions and 3 deletions
libc
bionic
netbsd/net

@ -40,8 +40,6 @@
#include <string.h>
#include <unistd.h>
#define MAX(a,b) ((a)>(b)?(a):(b))
static FTSENT *fts_alloc(FTS *, char *, size_t);
static FTSENT *fts_build(FTS *, int);
static void fts_lfree(FTSENT *);

@ -67,7 +67,6 @@ __RCSID("$NetBSD: getnameinfo.c,v 1.53 2012/09/26 23:13:00 christos Exp $");
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#define MIN(x,y) ((x) < (y) ? (x) : (y))
#include <stddef.h>
#include <string.h>