Use K&R style for curly braces in src/rpc/

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2014-03-18 09:14:54 +01:00
parent daedff47ae
commit 7fa91525bd
3 changed files with 11 additions and 7 deletions

View File

@ -1,7 +1,7 @@
/*
* virnetserver.c: generic network RPC server
*
* Copyright (C) 2006-2012 Red Hat, Inc.
* Copyright (C) 2006-2012, 2014 Red Hat, Inc.
* Copyright (C) 2006 Daniel P. Berrange
*
* This library is free software; you can redistribute it and/or
@ -850,7 +850,8 @@ static void
virNetServerSignalEvent(int watch,
int fd ATTRIBUTE_UNUSED,
int events ATTRIBUTE_UNUSED,
void *opaque) {
void *opaque)
{
virNetServerPtr srv = opaque;
siginfo_t siginfo;
size_t i;
@ -1021,7 +1022,8 @@ int virNetServerSetTLSContext(virNetServerPtr srv,
static void virNetServerAutoShutdownTimer(int timerid ATTRIBUTE_UNUSED,
void *opaque) {
void *opaque)
{
virNetServerPtr srv = opaque;
virObjectLock(srv);

View File

@ -1,7 +1,7 @@
/*
* virnetserverclient.c: generic network RPC server client
*
* Copyright (C) 2006-2013 Red Hat, Inc.
* Copyright (C) 2006-2014 Red Hat, Inc.
* Copyright (C) 2006 Daniel P. Berrange
*
* This library is free software; you can redistribute it and/or
@ -141,7 +141,8 @@ static int virNetServerClientSendMessageLocked(virNetServerClientPtr client,
* @client: a locked client object
*/
static int
virNetServerClientCalculateHandleMode(virNetServerClientPtr client) {
virNetServerClientCalculateHandleMode(virNetServerClientPtr client)
{
int mode = 0;

View File

@ -1,7 +1,7 @@
/*
* virnettlscontext.c: TLS encryption/x509 handling
*
* Copyright (C) 2010-2013 Red Hat, Inc.
* Copyright (C) 2010-2014 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -125,7 +125,8 @@ virNetTLSContextCheckCertFile(const char *type, const char *file, bool allowMiss
static void virNetTLSLog(int level ATTRIBUTE_UNUSED,
const char *str ATTRIBUTE_UNUSED) {
const char *str ATTRIBUTE_UNUSED)
{
VIR_DEBUG("%d %s", level, str);
}