commit-hurd
[Top][All Lists]
Advanced

[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



reply via email to

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