summaryrefslogtreecommitdiff
path: root/debian/patches/startup-0007-startup-fix-the-declaration-of-the-_server-functions.patch
blob: b8577c9df6c634f802cdfe71b1ad454e96391301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From bbdbeeba0076f31ad78849be86596528dfbeac85 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Wed, 18 Sep 2013 23:16:34 +0200
Subject: [PATCH 7/8] startup: fix the declaration of the *_server functions

* startup/startup.c (demuxer): Fix the declaration of the server functions.
---
 startup/startup.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/startup/startup.c b/startup/startup.c
index 0a33855..fe8471d 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -501,7 +501,9 @@ static int
 demuxer (mach_msg_header_t *inp,
 	 mach_msg_header_t *outp)
 {
-  extern int notify_server (), startup_server (), msg_server ();
+  extern int notify_server (mach_msg_header_t *, mach_msg_header_t *);
+  extern int startup_server (mach_msg_header_t *, mach_msg_header_t *);
+  extern int msg_server (mach_msg_header_t *, mach_msg_header_t *);
 
   return (notify_server (inp, outp) ||
 	  msg_server (inp, outp) ||
-- 
2.1.0