commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnumach] 02/56: Add [nh]to[hn][ls] prototypes


From: Samuel Thibault
Subject: [gnumach] 02/56: Add [nh]to[hn][ls] prototypes
Date: Sat, 28 Sep 2013 12:43:11 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit 33e22a2836117f1a1098b821875b35c004a717bf
Author: Marin Ramesa <address@hidden>
Date:   Sat Jun 29 20:39:39 2013 +0200

    Add [nh]to[hn][ls] prototypes
    
    * device/net_io.h (ntohl, htonl, ntohs, htons): Add prototypes.
---
 device/net_io.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/device/net_io.h b/device/net_io.h
index 073bdca..5b3a55c 100644
--- a/device/net_io.h
+++ b/device/net_io.h
@@ -83,4 +83,9 @@ extern void net_kmsg_collect (void);
 #define net_kmsg_alloc()       ((ipc_kmsg_t) kalloc(net_kmsg_size))
 #define net_kmsg_free(kmsg)    kfree((vm_offset_t) (kmsg), net_kmsg_size)
 
+extern unsigned int            ntohl(unsigned int);
+extern unsigned short int      ntohs(unsigned short int);
+extern unsigned int            htonl(unsigned int);
+extern unsigned short int      htons(unsigned short int);
+
 #endif /* _DEVICE_NET_IO_H_ */

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/gnumach.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]