summaryrefslogtreecommitdiff
path: root/debian/patches/0007-startup-fix-the-declaration-of-the-_server-functions.patch
blob: 4d90136961ef934be8dbe90c330d8c8943b195df (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 4565524594612d6cd8267e3a74806a0c362636d0 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