summaryrefslogtreecommitdiff
path: root/nslcd/common.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2011-03-11 15:49:22 +0000
committerArthur de Jong <arthur@arthurdejong.org>2011-03-11 15:49:22 +0000
commit2c4be1e08674667a919bd66129f3e3ed39b921dd (patch)
tree33748c78734c745829e6b7b2b99f980cc5ea898c /nslcd/common.c
parent7bd6de3921993855d280a42e8e5e81f7e2360ba3 (diff)
move HOST_NAME_MAX fallback definition to header file
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1387 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/common.c')
-rw-r--r--nslcd/common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nslcd/common.c b/nslcd/common.c
index 6e81562..a4b0445 100644
--- a/nslcd/common.c
+++ b/nslcd/common.c
@@ -54,10 +54,6 @@ int mysnprintf(char *buffer,size_t buflen,const char *format, ...)
return ((res<0)||(((size_t)res)>=buflen));
}
-#ifndef HOST_NAME_MAX
-#define HOST_NAME_MAX 255
-#endif /* not HOST_NAME_MAX */
-
/* return the fully qualified domain name of the current host */
const char *getfqdn(void)
{