[libvirt] [PATCH 1/2] remove space between function name and (
Eric Blake
eblake at redhat.com
Fri Feb 18 00:11:46 UTC 2011
On 02/17/2011 02:18 PM, Christophe Fergeau wrote:
> There were several occurrences of an extra space inserted between
> a function name and the ( opening the argument list in
> datatypes.c. This is not consistent with the coding style used in
> the rest of this file so removing this extra space makes the
> code slightly more readable.
> ---
> src/datatypes.c | 14 +++++++-------
> 1 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/src/datatypes.c b/src/datatypes.c
> index 7cc37c1..1b68f6a 100644
> --- a/src/datatypes.c
> +++ b/src/datatypes.c
> @@ -243,19 +243,19 @@ virReleaseConnect(virConnectPtr conn) {
> virMutexUnlock(&conn->lock);
>
> if (conn->networkDriver)
> - conn->networkDriver->close (conn);
> + conn->networkDriver->close(conn);
ACK and pushed.
In the past, there has been talk about running the entire code base
through a formatting tool, but we haven't yet found one that quite
matches existing coding style, so it has been a series of manually
touching up inconsistencies while in the area.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110217/c38b4d72/attachment-0001.sig>
More information about the libvir-list
mailing list