[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 27/30: Fix build warning
From: |
Samuel Thibault |
Subject: |
[hurd] 27/30: Fix build warning |
Date: |
Tue, 22 Sep 2015 21:52:00 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit c6d8af579cffa9662ed1ea9e6096cccec821c6a1
Author: Samuel Thibault <address@hidden>
Date: Sat Sep 12 12:35:59 2015 +0200
Fix build warning
* pflocal/sock.h (sock_bind): Move declaration.
---
pflocal/sock.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pflocal/sock.h b/pflocal/sock.h
index f827c6f..29f0f1f 100644
--- a/pflocal/sock.h
+++ b/pflocal/sock.h
@@ -114,6 +114,9 @@ void sock_free (struct sock *sock);
/* Free a sock derefed too far. */
void _sock_norefs (struct sock *sock);
+/* Bind SOCK to ADDR. */
+error_t sock_bind (struct sock *sock, struct addr *addr);
+
/* Remove a reference from SOCK, possibly freeing it. */
static inline void __attribute__ ((unused))
sock_deref (struct sock *sock)
@@ -154,9 +157,6 @@ error_t sock_clone (struct sock *template, struct sock
**sock);
/* Return a new user port on SOCK in PORT. */
error_t sock_create_port (struct sock *sock, mach_port_t *port);
-/* Bind SOCK to ADDR. */
-error_t sock_bind (struct sock *sock, struct addr *addr);
-
/* Returns SOCK's address in ADDR, with an additional reference added. If
SOCK doesn't currently have an address, one is fabricated first. */
error_t sock_get_addr (struct sock *sock, struct addr **addr);
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 21/30: Do not install libtrivfs mig stub headers, (continued)
- [hurd] 21/30: Do not install libtrivfs mig stub headers, Samuel Thibault, 2015/09/22
- [hurd] 22/30: Install port-deref-deferred.h header for ports.h, Samuel Thibault, 2015/09/22
- [hurd] 19/30: pflocal: avoid nested function, Samuel Thibault, 2015/09/22
- [hurd] 24/30: Fix closure of local server sockets, Samuel Thibault, 2015/09/22
- [hurd] 23/30: Fix sock_bind(sock,NULL) support, Samuel Thibault, 2015/09/22
- [hurd] 29/30: Define TIME_VALUE_TO_TIMESPEC only when not defined already, Samuel Thibault, 2015/09/22
- [hurd] 25/30: Fix detection of terminated dgram pflocal server, Samuel Thibault, 2015/09/22
- [hurd] 01/30: exec: fix setting the name of early servers, Samuel Thibault, 2015/09/22
- [hurd] 12/30: libdiskfs: rename `error' variable, Samuel Thibault, 2015/09/22
- [hurd] 26/30: Add support for ANSI.SYS SCP/RCP escape codes, Samuel Thibault, 2015/09/22
- [hurd] 27/30: Fix build warning,
Samuel Thibault <=
- [hurd] 14/30: Fix race condition in ext2fs when remounting, Samuel Thibault, 2015/09/22
- [hurd] 30/30: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2015/09/22
- [hurd] 28/30: Turn EADDRNOTAVAIL to more commonly-understood ECONNREFUSED, Samuel Thibault, 2015/09/22