mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
Use K&R style for curly braces in src/rpc/
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
daedff47ae
commit
7fa91525bd
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user