From b01e82ce1deedb36c9696d4d27a3b9a5d5a52d08 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Thu, 30 Oct 2008 12:01:06 +0100 Subject: ANSI C convert all old style function declarations see also: Paulo Cesar Pereira de Andrade http://bugs.freedesktop.org/show_bug.cgi?id=14683 http://bugs.freedesktop.org/attachment.cgi?id=14582 see also: Magnus Kessler http://lists.freedesktop.org/archives/xorg/2008-October/039799.html http://lists.freedesktop.org/archives/xorg/attachments/20081030/b2ea5b1c/attachment-0001.bin --- src/ping.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/ping.c') 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; -- cgit v1.2.3