]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include/c: remove MAXHOSTNAMELEN macro
authorKarel Zak <kzak@redhat.com>
Fri, 19 Oct 2012 14:58:11 +0000 (16:58 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 19 Oct 2012 14:58:11 +0000 (16:58 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
include/c.h

index e15a994d716876b84be82182466eb972c32a05ce..e343778b48aae6149681d7f644d8ba8517d924e6 100644 (file)
@@ -223,17 +223,6 @@ static inline int dirfd(DIR *d)
 #define IUTF8 0040000
 #endif
 
-/*
- * Fallback for MAXHOSTNAMELEN
- */
-#ifndef MAXHOSTNAMELEN
-# ifdef HOST_NAME_MAX
-#  define MAXHOSTNAMELEN HOST_NAME_MAX
-# else
-#  define MAXHOSTNAMELEN 64
-# endif
-#endif
-
 /*
  * MAXHOSTNAMELEN replacement
  */