PERFORCE change 82812 for review
Peter Wemm
peter at FreeBSD.org
Tue Aug 30 01:04:22 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=82812
Change 82812 by peter at peter_melody on 2005/08/30 01:03:19
Revert missed ABI change
Affected files ...
.. //depot/projects/hammer/lib/libc/net/getnetnamadr.c#6 edit
Differences ...
==== //depot/projects/hammer/lib/libc/net/getnetnamadr.c#6 (text+ko) ====
@@ -165,13 +165,17 @@
}
struct netent *
+#if __LONG_BIT == 64
+getnetbyaddr(u_long addr, int af) /* ABI compatibility */
+#else
getnetbyaddr(uint32_t addr, int af)
+#endif
{
struct netdata *nd;
if ((nd = __netdata_init()) == NULL)
return NULL;
- if (getnetbyaddr_r(addr, af, &nd->net, &nd->data) != 0)
+ if (getnetbyaddr_r((uint32_t)addr, af, &nd->net, &nd->data) != 0)
return NULL;
return &nd->net;
}
More information about the p4-projects
mailing list