From 3c436eecebaf3f66c3a2d735f6c567d8eaa75a70 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Wed, 29 Sep 2010 19:01:42 +0000 Subject: fix definitions of ether_aton() and ether_ntoa() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1226 ef36b2f9-881f-0410-afb5-c4e39611909c --- compat/ether.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compat/ether.c') diff --git a/compat/ether.c b/compat/ether.c index 0f33481..6ab052d 100644 --- a/compat/ether.c +++ b/compat/ether.c @@ -1,7 +1,7 @@ /* ether.c - useful ethernet functions for systems lacking those - Copyright (C) 2008, 2009 Arthur de Jong + Copyright (C) 2008, 2009, 2010 Arthur de Jong This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -39,7 +39,7 @@ /* we define ether_ntoa() here because on some platforms the function is underfined */ -char *ether_ntoa(struct ether_addr *e); +extern char *ether_ntoa(const struct ether_addr *e); char *ether_ntoa_r(const struct ether_addr *addr,char *buf) { @@ -56,7 +56,7 @@ char *ether_ntoa_r(const struct ether_addr *addr,char *buf) /* we define ether_aton() here because on some platforms the function is underfined */ -struct ether_addr *ether_aton(char *s); +extern struct ether_addr *ether_aton(const char *s); struct ether_addr *ether_aton_r(const char *asc,struct ether_addr *addr) { -- cgit v1.2.3