[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 11/21: auth: include the mig-generated server headers in auth.c
From: |
Samuel Thibault |
Subject: |
[hurd] 11/21: auth: include the mig-generated server headers in auth.c |
Date: |
Tue, 04 Feb 2014 17:25:27 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit d04f830dff5b6f184b62a44f2a047fea89068feb
Author: Justus Winter <address@hidden>
Date: Wed Dec 4 11:27:03 2013 +0100
auth: include the mig-generated server headers in auth.c
GNU MIG recently gained support for emitting x_server_routine
declarations in the generated server header file. Using this
declaration, the x_server_routine functions can be inlined into the
demuxer function.
* auth/auth.c: Include the mig-generated server headers.
---
auth/auth.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/auth/auth.c b/auth/auth.c
index a395e79..e69c4f8 100644
--- a/auth/auth.c
+++ b/auth/auth.c
@@ -464,18 +464,16 @@ S_auth_server_authenticate (struct authhandle *serverauth,
}
+#include "../libports/notify_S.h"
+#include "../libports/interrupt_S.h"
static int
auth_demuxer (mach_msg_header_t *inp, mach_msg_header_t *outp)
{
- mig_routine_t auth_server_routine (mach_msg_header_t *);
- mig_routine_t ports_notify_server_routine (mach_msg_header_t *);
- mig_routine_t ports_interrupt_server_routine (mach_msg_header_t *);
-
mig_routine_t routine;
if ((routine = auth_server_routine (inp)) ||
- (routine = ports_notify_server_routine (inp)) ||
- (routine = ports_interrupt_server_routine (inp)))
+ (routine = ports_interrupt_server_routine (inp)) ||
+ (routine = ports_notify_server_routine (inp)))
{
(*routine) (inp, outp);
return TRUE;
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 17/21: Also re-open Ethernet device on EMIG_SERVER_DIED, (continued)
- [hurd] 17/21: Also re-open Ethernet device on EMIG_SERVER_DIED, Samuel Thibault, 2014/02/04
- [hurd] 08/21: proc: include the mig-generated server headers in main.c, Samuel Thibault, 2014/02/04
- [hurd] 19/21: Fix crash on fsysopts when pfinet has no IPv6, Samuel Thibault, 2014/02/04
- [hurd] 09/21: pfinet: include the mig-generated server headers in main.c, Samuel Thibault, 2014/02/04
- [hurd] 03/21: trans: fix the receiver lookup in password, Samuel Thibault, 2014/02/04
- [hurd] 10/21: pflocal: include the mig-generated server headers, Samuel Thibault, 2014/02/04
- [hurd] 07/21: exec: include the mig-generated server headers in main.c, Samuel Thibault, 2014/02/04
- [hurd] 02/21: Rename variables with the name "error" to "err"., Samuel Thibault, 2014/02/04
- [hurd] 20/21: daemons/getty: display /etc/issue if available, Samuel Thibault, 2014/02/04
- [hurd] 01/21: libps: fix task/thread times fetching, Samuel Thibault, 2014/02/04
- [hurd] 11/21: auth: include the mig-generated server headers in auth.c,
Samuel Thibault <=
- [hurd] 18/21: pfinet: really deallocate device port, Samuel Thibault, 2014/02/04
- [hurd] 14/21: libnetfs: fix file locking on peropen release, Samuel Thibault, 2014/02/04