mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-24 10:59:29 +01:00
Fix some c++isms
This commit is contained in:
parent
1e28f34807
commit
daccb6a850
@ -211,4 +211,4 @@ inet_net_pton_ipv4(src, dst, size)
|
|||||||
* and fail to include <arpa/inet.h>.
|
* and fail to include <arpa/inet.h>.
|
||||||
*/
|
*/
|
||||||
#undef inet_net_pton
|
#undef inet_net_pton
|
||||||
//__weak_reference(__inet_net_pton, inet_net_pton);
|
/* __weak_reference(__inet_net_pton, inet_net_pton); */
|
||||||
|
@ -37,8 +37,10 @@ __FBSDID("$FreeBSD: src/lib/libmd/md5c.c,v 1.16 2003/06/05 13:17:32 markm Exp $"
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#include <machine/endian.h>
|
/*
|
||||||
//#include <sys/endian.h>
|
#include <machine/endian.h>
|
||||||
|
#include <sys/endian.h>
|
||||||
|
*/
|
||||||
#include <bsd/md5.h>
|
#include <bsd/md5.h>
|
||||||
|
|
||||||
static void MD5Transform(u_int32_t [4], const unsigned char [64]);
|
static void MD5Transform(u_int32_t [4], const unsigned char [64]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user