nss-pam-ldapd commit: r1226 - nss-pam-ldapd/compat
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1226 - nss-pam-ldapd/compat
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1226 - nss-pam-ldapd/compat
- Date: Wed, 29 Sep 2010 21:01:43 +0200 (CEST)
Author: arthur
Date: Wed Sep 29 21:01:42 2010
New Revision: 1226
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1226
Log:
fix definitions of ether_aton() and ether_ntoa()
Modified:
nss-pam-ldapd/compat/ether.c
Modified: nss-pam-ldapd/compat/ether.c
==============================================================================
--- nss-pam-ldapd/compat/ether.c Tue Sep 28 23:04:44 2010 (r1225)
+++ nss-pam-ldapd/compat/ether.c Wed Sep 29 21:01:42 2010 (r1226)
@@ -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 @@
/* 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)
{
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1226 - nss-pam-ldapd/compat,
Commits of the nss-pam-ldapd project