diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2010-10-01 10:34:33 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2010-10-01 10:34:33 +0200 |
commit | 7d3e113db9f89f3ed2fbe3854bd9e441a460483b (patch) | |
tree | 2401c745d7630123d07b19a5d64d43c59ab87550 /compat/ether.c | |
parent | 8eac6f4f55cee0a6183983f2fcd8db73dc76c8a9 (diff) | |
parent | 441c1838035aee4e6b33b8deee4646e65ad1ed47 (diff) |
merge function definition changes from trunk (r1233)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1234 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'compat/ether.c')
-rw-r--r-- | compat/ether.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compat/ether.c b/compat/ether.c index 28dadf3..f02576c 100644 --- a/compat/ether.c +++ b/compat/ether.c @@ -37,11 +37,11 @@ #ifndef HAVE_ETHER_NTOA_R -#ifndef HAVE_ETHER_NTOA_DEFINED +#if !HAVE_DECL_ETHER_NTOA /* we define ether_ntoa() here because on some platforms the function is underfined */ extern char *ether_ntoa(const struct ether_addr *e); -#endif /* not HAVE_ETHER_NTOA_DEFINED */ +#endif /* not HAVE_DECL_ETHER_NTOA */ char *ether_ntoa_r(const struct ether_addr *addr,char *buf) { @@ -56,11 +56,11 @@ char *ether_ntoa_r(const struct ether_addr *addr,char *buf) #ifndef HAVE_ETHER_ATON_R -#ifndef HAVE_ETHER_ATON_DEFINED +#if !HAVE_DECL_ETHER_ATON /* we define ether_aton() here because on some platforms the function is underfined */ extern struct ether_addr *ether_aton(const char *s); -#endif /* not HAVE_ETHER_ATON_DEFINED */ +#endif /* not HAVE_DECL_ETHER_ATON */ struct ether_addr *ether_aton_r(const char *asc,struct ether_addr *addr) { |