summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
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;