[PATCH libICE 2/7] Remove white space between function name and opening bracket
Emil Velikov
emil.l.velikov at gmail.com
Sun May 8 08:19:31 UTC 2016
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
include/X11/ICE/ICElib.h | 106 +++++++++++++++++++++++-----------------------
include/X11/ICE/ICEmsg.h | 18 ++++----
include/X11/ICE/ICEutil.h | 18 ++++----
3 files changed, 71 insertions(+), 71 deletions(-)
diff --git a/include/X11/ICE/ICElib.h b/include/X11/ICE/ICElib.h
index a1d2256..987783f 100644
--- a/include/X11/ICE/ICElib.h
+++ b/include/X11/ICE/ICElib.h
@@ -96,14 +96,14 @@ typedef struct {
typedef struct _IceConn *IceConn;
typedef struct _IceListenObj *IceListenObj;
-typedef void (*IceWatchProc) (
+typedef void (*IceWatchProc)(
IceConn /* iceConn */,
IcePointer /* clientData */,
Bool /* opening */,
IcePointer * /* watchData */
);
-typedef void (*IcePoProcessMsgProc) (
+typedef void (*IcePoProcessMsgProc)(
IceConn /* iceConn */,
IcePointer /* clientData */,
int /* opcode */,
@@ -113,7 +113,7 @@ typedef void (*IcePoProcessMsgProc) (
Bool * /* replyReadyRet */
);
-typedef void (*IcePaProcessMsgProc) (
+typedef void (*IcePaProcessMsgProc)(
IceConn /* iceConn */,
IcePointer /* clientData */,
int /* opcode */,
@@ -133,7 +133,7 @@ typedef struct {
IcePaProcessMsgProc process_msg_proc;
} IcePaVersionRec;
-typedef IcePoAuthStatus (*IcePoAuthProc) (
+typedef IcePoAuthStatus (*IcePoAuthProc)(
IceConn /* iceConn */,
IcePointer * /* authStatePtr */,
Bool /* cleanUp */,
@@ -145,7 +145,7 @@ typedef IcePoAuthStatus (*IcePoAuthProc) (
char ** /* errorStringRet */
);
-typedef IcePaAuthStatus (*IcePaAuthProc) (
+typedef IcePaAuthStatus (*IcePaAuthProc)(
IceConn /* iceConn */,
IcePointer * /* authStatePtr */,
Bool /* swap */,
@@ -156,11 +156,11 @@ typedef IcePaAuthStatus (*IcePaAuthProc) (
char ** /* errorStringRet */
);
-typedef Bool (*IceHostBasedAuthProc) (
+typedef Bool (*IceHostBasedAuthProc)(
char * /* hostName */
);
-typedef Status (*IceProtocolSetupProc) (
+typedef Status (*IceProtocolSetupProc)(
IceConn /* iceConn */,
int /* majorVersion */,
int /* minorVersion */,
@@ -170,21 +170,21 @@ typedef Status (*IceProtocolSetupProc) (
char ** /* failureReasonRet */
);
-typedef void (*IceProtocolActivateProc) (
+typedef void (*IceProtocolActivateProc)(
IceConn /* iceConn */,
IcePointer /* clientData */
);
-typedef void (*IceIOErrorProc) (
+typedef void (*IceIOErrorProc)(
IceConn /* iceConn */
);
-typedef void (*IcePingReplyProc) (
+typedef void (*IcePingReplyProc)(
IceConn /* iceConn */,
IcePointer /* clientData */
);
-typedef void (*IceErrorHandler) (
+typedef void (*IceErrorHandler)(
IceConn /* iceConn */,
Bool /* swap */,
int /* offendingMinorOpcode */,
@@ -194,7 +194,7 @@ typedef void (*IceErrorHandler) (
IcePointer /* values */
);
-typedef void (*IceIOErrorHandler) (
+typedef void (*IceIOErrorHandler)(
IceConn /* iceConn */
);
@@ -205,7 +205,7 @@ typedef void (*IceIOErrorHandler) (
_XFUNCPROTOBEGIN
-_X_EXPORT int IceRegisterForProtocolSetup (
+_X_EXPORT int IceRegisterForProtocolSetup(
const char * /* protocolName */,
const char * /* vendor */,
const char * /* release */,
@@ -217,7 +217,7 @@ _X_EXPORT int IceRegisterForProtocolSetup (
IceIOErrorProc /* IOErrorProc */
);
-_X_EXPORT int IceRegisterForProtocolReply (
+_X_EXPORT int IceRegisterForProtocolReply(
const char * /* protocolName */,
const char * /* vendor */,
const char * /* release */,
@@ -232,7 +232,7 @@ _X_EXPORT int IceRegisterForProtocolReply (
IceIOErrorProc /* IOErrorProc */
);
-_X_EXPORT IceConn IceOpenConnection (
+_X_EXPORT IceConn IceOpenConnection(
char * /* networkIdsList */,
IcePointer /* context */,
Bool /* mustAuthenticate */,
@@ -241,18 +241,18 @@ _X_EXPORT IceConn IceOpenConnection (
char * /* errorStringRet */
);
-_X_EXPORT IcePointer IceGetConnectionContext (
+_X_EXPORT IcePointer IceGetConnectionContext(
IceConn /* iceConn */
);
-_X_EXPORT Status IceListenForConnections (
+_X_EXPORT Status IceListenForConnections(
int * /* countRet */,
IceListenObj ** /* listenObjsRet */,
int /* errorLength */,
char * /* errorStringRet */
);
-_X_EXPORT Status IceListenForWellKnownConnections (
+_X_EXPORT Status IceListenForWellKnownConnections(
char * /* port */,
int * /* countRet */,
IceListenObj ** /* listenObjsRet */,
@@ -260,58 +260,58 @@ _X_EXPORT Status IceListenForWellKnownConnections (
char * /* errorStringRet */
);
-_X_EXPORT int IceGetListenConnectionNumber (
+_X_EXPORT int IceGetListenConnectionNumber(
IceListenObj /* listenObj */
);
-_X_EXPORT char *IceGetListenConnectionString (
+_X_EXPORT char *IceGetListenConnectionString(
IceListenObj /* listenObj */
);
-_X_EXPORT char *IceComposeNetworkIdList (
+_X_EXPORT char *IceComposeNetworkIdList(
int /* count */,
IceListenObj * /* listenObjs */
);
-_X_EXPORT void IceFreeListenObjs (
+_X_EXPORT void IceFreeListenObjs(
int /* count */,
IceListenObj * /* listenObjs */
);
-_X_EXPORT void IceSetHostBasedAuthProc (
+_X_EXPORT void IceSetHostBasedAuthProc(
IceListenObj /* listenObj */,
IceHostBasedAuthProc /* hostBasedAuthProc */
);
-_X_EXPORT IceConn IceAcceptConnection (
+_X_EXPORT IceConn IceAcceptConnection(
IceListenObj /* listenObj */,
IceAcceptStatus * /* statusRet */
);
-_X_EXPORT void IceSetShutdownNegotiation (
+_X_EXPORT void IceSetShutdownNegotiation(
IceConn /* iceConn */,
Bool /* negotiate */
);
-_X_EXPORT Bool IceCheckShutdownNegotiation (
+_X_EXPORT Bool IceCheckShutdownNegotiation(
IceConn /* iceConn */
);
-_X_EXPORT IceCloseStatus IceCloseConnection (
+_X_EXPORT IceCloseStatus IceCloseConnection(
IceConn /* iceConn */
);
-_X_EXPORT Status IceAddConnectionWatch (
+_X_EXPORT Status IceAddConnectionWatch(
IceWatchProc /* watchProc */,
IcePointer /* clientData */
);
-_X_EXPORT void IceRemoveConnectionWatch (
+_X_EXPORT void IceRemoveConnectionWatch(
IceWatchProc /* watchProc */,
IcePointer /* clientData */
);
-_X_EXPORT IceProtocolSetupStatus IceProtocolSetup (
+_X_EXPORT IceProtocolSetupStatus IceProtocolSetup(
IceConn /* iceConn */,
int /* myOpcode */,
IcePointer /* clientData */,
@@ -324,89 +324,89 @@ _X_EXPORT IceProtocolSetupStatus IceProtocolSetup (
char * /* errorStringRet */
);
-_X_EXPORT Status IceProtocolShutdown (
+_X_EXPORT Status IceProtocolShutdown(
IceConn /* iceConn */,
int /* majorOpcode */
);
-_X_EXPORT IceProcessMessagesStatus IceProcessMessages (
+_X_EXPORT IceProcessMessagesStatus IceProcessMessages(
IceConn /* iceConn */,
IceReplyWaitInfo * /* replyWait */,
Bool * /* replyReadyRet */
);
-_X_EXPORT Status IcePing (
+_X_EXPORT Status IcePing(
IceConn /* iceConn */,
IcePingReplyProc /* pingReplyProc */,
IcePointer /* clientData */
);
-_X_EXPORT char *IceAllocScratch (
+_X_EXPORT char *IceAllocScratch(
IceConn /* iceConn */,
unsigned long /* size */
);
-_X_EXPORT int IceFlush (
+_X_EXPORT int IceFlush(
IceConn /* iceConn */
);
-_X_EXPORT int IceGetOutBufSize (
+_X_EXPORT int IceGetOutBufSize(
IceConn /* iceConn */
);
-_X_EXPORT int IceGetInBufSize (
+_X_EXPORT int IceGetInBufSize(
IceConn /* iceConn */
);
-_X_EXPORT IceConnectStatus IceConnectionStatus (
+_X_EXPORT IceConnectStatus IceConnectionStatus(
IceConn /* iceConn */
);
-_X_EXPORT char *IceVendor (
+_X_EXPORT char *IceVendor(
IceConn /* iceConn */
);
-_X_EXPORT char *IceRelease (
+_X_EXPORT char *IceRelease(
IceConn /* iceConn */
);
-_X_EXPORT int IceProtocolVersion (
+_X_EXPORT int IceProtocolVersion(
IceConn /* iceConn */
);
-_X_EXPORT int IceProtocolRevision (
+_X_EXPORT int IceProtocolRevision(
IceConn /* iceConn */
);
-_X_EXPORT int IceConnectionNumber (
+_X_EXPORT int IceConnectionNumber(
IceConn /* iceConn */
);
-_X_EXPORT char *IceConnectionString (
+_X_EXPORT char *IceConnectionString(
IceConn /* iceConn */
);
-_X_EXPORT unsigned long IceLastSentSequenceNumber (
+_X_EXPORT unsigned long IceLastSentSequenceNumber(
IceConn /* iceConn */
);
-_X_EXPORT unsigned long IceLastReceivedSequenceNumber (
+_X_EXPORT unsigned long IceLastReceivedSequenceNumber(
IceConn /* iceConn */
);
-_X_EXPORT Bool IceSwapping (
+_X_EXPORT Bool IceSwapping(
IceConn /* iceConn */
);
-_X_EXPORT IceErrorHandler IceSetErrorHandler (
+_X_EXPORT IceErrorHandler IceSetErrorHandler(
IceErrorHandler /* handler */
);
-_X_EXPORT IceIOErrorHandler IceSetIOErrorHandler (
+_X_EXPORT IceIOErrorHandler IceSetIOErrorHandler(
IceIOErrorHandler /* handler */
);
-_X_EXPORT char *IceGetPeerName (
+_X_EXPORT char *IceGetPeerName(
IceConn /* iceConn */
);
@@ -414,15 +414,15 @@ _X_EXPORT char *IceGetPeerName (
* Multithread Routines
*/
-_X_EXPORT Status IceInitThreads (
+_X_EXPORT Status IceInitThreads(
void
);
-_X_EXPORT void IceAppLockConn (
+_X_EXPORT void IceAppLockConn(
IceConn /* iceConn */
);
-_X_EXPORT void IceAppUnlockConn (
+_X_EXPORT void IceAppUnlockConn(
IceConn /* iceConn */
);
diff --git a/include/X11/ICE/ICEmsg.h b/include/X11/ICE/ICEmsg.h
index d2636aa..bf52cbe 100644
--- a/include/X11/ICE/ICEmsg.h
+++ b/include/X11/ICE/ICEmsg.h
@@ -39,46 +39,46 @@ _XFUNCPROTOBEGIN
* Function prototypes for internal ICElib functions
*/
-_X_EXPORT Status _IceRead (
+_X_EXPORT Status _IceRead(
IceConn /* iceConn */,
unsigned long /* nbytes */,
char * /* ptr */
);
-_X_EXPORT void _IceReadSkip (
+_X_EXPORT void _IceReadSkip(
IceConn /* iceConn */,
unsigned long /* nbytes */
);
-_X_EXPORT void _IceWrite (
+_X_EXPORT void _IceWrite(
IceConn /* iceConn */,
unsigned long /* nbytes */,
char * /* ptr */
);
-_X_EXPORT void _IceErrorBadMinor (
+_X_EXPORT void _IceErrorBadMinor(
IceConn /* iceConn */,
int /* majorOpcode */,
int /* offendingMinor */,
int /* severity */
);
-_X_EXPORT void _IceErrorBadState (
+_X_EXPORT void _IceErrorBadState(
IceConn /* iceConn */,
int /* majorOpcode */,
int /* offendingMinor */,
int /* severity */
);
-_X_EXPORT void _IceErrorBadLength (
+_X_EXPORT void _IceErrorBadLength(
IceConn /* iceConn */,
int /* majorOpcode */,
int /* offendingMinor */,
int /* severity */
);
-_X_EXPORT void _IceErrorBadValue (
+_X_EXPORT void _IceErrorBadValue(
IceConn /* iceConn */,
int /* majorOpcode */,
int /* offendingMinor */,
@@ -87,7 +87,7 @@ _X_EXPORT void _IceErrorBadValue (
IcePointer /* value */
);
-_X_EXPORT IcePoAuthStatus _IcePoMagicCookie1Proc (
+_X_EXPORT IcePoAuthStatus _IcePoMagicCookie1Proc(
IceConn /* iceConn */,
IcePointer * /* authStatePtr */,
Bool /* cleanUp */,
@@ -99,7 +99,7 @@ _X_EXPORT IcePoAuthStatus _IcePoMagicCookie1Proc (
char ** /* errorStringRet */
);
-_X_EXPORT IcePaAuthStatus _IcePaMagicCookie1Proc (
+_X_EXPORT IcePaAuthStatus _IcePaMagicCookie1Proc(
IceConn /* iceConn */,
IcePointer * /* authStatePtr */,
Bool /* swap */,
diff --git a/include/X11/ICE/ICEutil.h b/include/X11/ICE/ICEutil.h
index 592993e..f673236 100644
--- a/include/X11/ICE/ICEutil.h
+++ b/include/X11/ICE/ICEutil.h
@@ -76,45 +76,45 @@ typedef struct {
* Function Prototypes
*/
-_X_EXPORT char *IceAuthFileName (
+_X_EXPORT char *IceAuthFileName(
void
);
-_X_EXPORT int IceLockAuthFile (
+_X_EXPORT int IceLockAuthFile(
const char * /* file_name */,
int /* retries */,
int /* timeout */,
long /* dead */
);
-_X_EXPORT void IceUnlockAuthFile (
+_X_EXPORT void IceUnlockAuthFile(
const char * /* file_name */
);
-_X_EXPORT IceAuthFileEntry *IceReadAuthFileEntry (
+_X_EXPORT IceAuthFileEntry *IceReadAuthFileEntry(
FILE * /* auth_file */
);
-_X_EXPORT void IceFreeAuthFileEntry (
+_X_EXPORT void IceFreeAuthFileEntry(
IceAuthFileEntry * /* auth */
);
-_X_EXPORT Status IceWriteAuthFileEntry (
+_X_EXPORT Status IceWriteAuthFileEntry(
FILE * /* auth_file */,
IceAuthFileEntry * /* auth */
);
-_X_EXPORT IceAuthFileEntry *IceGetAuthFileEntry (
+_X_EXPORT IceAuthFileEntry *IceGetAuthFileEntry(
const char * /* protocol_name */,
const char * /* network_id */,
const char * /* auth_name */
);
-_X_EXPORT char *IceGenerateMagicCookie (
+_X_EXPORT char *IceGenerateMagicCookie(
int /* len */
);
-_X_EXPORT void IceSetPaAuthData (
+_X_EXPORT void IceSetPaAuthData(
int /* numEntries */,
IceAuthDataEntry * /* entries */
);
--
2.8.0
More information about the xorg-devel
mailing list