summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-01-11 08:44:29 +0100
committerJulien Cristau <jcristau@debian.org>2009-01-11 08:54:12 +0100
commit5321ae76cffc5fcfe4bebcfb10e08eecaf640503 (patch)
tree0893ccf826d910501b3235ac981a3f41ffd86e41 /os
parent47438a2161a92fec08081d2de28966cf8d31654a (diff)
os: ANSI cleanups
Diffstat (limited to 'os')
-rw-r--r--os/utils.c4
-rw-r--r--os/xdmcp.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/os/utils.c b/os/utils.c
index a41b0cf28..e8d11f806 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -213,9 +213,7 @@ int auditTrailLevel = 1;
static char *dev_tty_from_init = NULL; /* since we need to parse it anyway */
OsSigHandlerPtr
-OsSignal(sig, handler)
- int sig;
- OsSigHandlerPtr handler;
+OsSignal(int sig, OsSigHandlerPtr handler)
{
struct sigaction act, oact;
diff --git a/os/xdmcp.c b/os/xdmcp.c
index 736cd3e11..d819dd964 100644
--- a/os/xdmcp.c
+++ b/os/xdmcp.c
@@ -1590,9 +1590,7 @@ get_fromaddr_by_name(
#if defined(IPv6) && defined(AF_INET6)
static int
-get_mcast_options(argc, argv, i)
- int argc, i;
- char **argv;
+get_mcast_options(int argc, char **argv, int i)
{
char *address = XDM_DEFAULT_MCAST_ADDR6;
int hopcount = 1;