summaryrefslogtreecommitdiff
path: root/src/ping.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-10-30 12:01:06 +0100
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-06 17:15:13 -0200
commitb01e82ce1deedb36c9696d4d27a3b9a5d5a52d08 (patch)
tree4e7d624bec961376da0ff497c2757699160d0483 /src/ping.c
parent2aba1bc0583aeb3ee6e26e3bfacd123abef744d9 (diff)
ANSI C
convert all old style function declarations see also: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> http://bugs.freedesktop.org/show_bug.cgi?id=14683 http://bugs.freedesktop.org/attachment.cgi?id=14582 see also: Magnus Kessler <Magnus.Kessler@gmx.net> http://lists.freedesktop.org/archives/xorg/2008-October/039799.html http://lists.freedesktop.org/archives/xorg/attachments/20081030/b2ea5b1c/attachment-0001.bin
Diffstat (limited to 'src/ping.c')
-rw-r--r--src/ping.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ping.c b/src/ping.c
index 45329b6..04fe735 100644
--- a/src/ping.c
+++ b/src/ping.c
@@ -34,12 +34,11 @@ Author: Ralph Mor, X Consortium
#include "ICElibint.h"
Status
-IcePing (iceConn, pingReplyProc, clientData)
-
-IceConn iceConn;
-IcePingReplyProc pingReplyProc;
-IcePointer clientData;
-
+IcePing (
+ IceConn iceConn,
+ IcePingReplyProc pingReplyProc,
+ IcePointer clientData
+)
{
_IcePingWait *newping = (_IcePingWait *) malloc (sizeof (_IcePingWait));
_IcePingWait *ptr = iceConn->ping_waits;