diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-10-30 12:01:06 +0100 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-06 17:15:13 -0200 |
commit | b01e82ce1deedb36c9696d4d27a3b9a5d5a52d08 (patch) | |
tree | 4e7d624bec961376da0ff497c2757699160d0483 /src/watch.c | |
parent | 2aba1bc0583aeb3ee6e26e3bfacd123abef744d9 (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/watch.c')
-rw-r--r-- | src/watch.c | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/src/watch.c b/src/watch.c index ec90d78..00897ee 100644 --- a/src/watch.c +++ b/src/watch.c @@ -35,11 +35,10 @@ Author: Ralph Mor, X Consortium Status -IceAddConnectionWatch (watchProc, clientData) - -IceWatchProc watchProc; -IcePointer clientData; - +IceAddConnectionWatch ( + IceWatchProc watchProc, + IcePointer clientData +) { /* * watchProc will be called each time an ICE connection is @@ -94,11 +93,10 @@ IcePointer clientData; void -IceRemoveConnectionWatch (watchProc, clientData) - -IceWatchProc watchProc; -IcePointer clientData; - +IceRemoveConnectionWatch ( + IceWatchProc watchProc, + IcePointer clientData +) { _IceWatchProc *currWatchProc = _IceWatchProcs; _IceWatchProc *prevWatchProc = NULL; @@ -135,10 +133,9 @@ IcePointer clientData; void -_IceConnectionOpened (iceConn) - -IceConn iceConn; - +_IceConnectionOpened ( + IceConn iceConn +) { _IceWatchProc *watchProc = _IceWatchProcs; @@ -170,10 +167,9 @@ IceConn iceConn; void -_IceConnectionClosed (iceConn) - -IceConn iceConn; - +_IceConnectionClosed ( + IceConn iceConn +) { _IceWatchProc *watchProc = _IceWatchProcs; |