[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
- [gnumach] branch master updated (1b954eb -> cfa1f42), Samuel Thibault, 2013/09/28
- [gnumach] 01/56: Fix int/long discrepancy, Samuel Thibault, 2013/09/28
- [gnumach] 02/56: Add [nh]to[hn][ls] prototypes,
Samuel Thibault <=
- [gnumach] 03/56: Add device_pager_setup prototype, Samuel Thibault, 2013/09/28
- [gnumach] 05/56: ddb: fix implicit declarations, Samuel Thibault, 2013/09/28
- [gnumach] 04/56: (slab_info): fix format warnings, Samuel Thibault, 2013/09/28
- [gnumach] 14/56: Drop FXSR initialization message, Samuel Thibault, 2013/09/28
- [gnumach] 08/56: Restore db_help_cmd, Samuel Thibault, 2013/09/28
- [gnumach] 07/56: ddb: cleanup db_command.c, Samuel Thibault, 2013/09/28
- [gnumach] 45/56: Generate ChangeLog files for distributions., Samuel Thibault, 2013/09/28
- [gnumach] 42/56: Fix typo, Samuel Thibault, 2013/09/28
- [gnumach] 44/56: dist-hook extensibility., Samuel Thibault, 2013/09/28
- [gnumach] 46/56: * configure.ac (AM_INIT_AUTOMAKE): Add dist-bzip2., Samuel Thibault, 2013/09/28