diff options
author | Martin Kletzander <mkletzan@redhat.com> | 2014-03-18 09:14:35 +0100 |
---|---|---|
committer | Martin Kletzander <mkletzan@redhat.com> | 2014-03-20 17:16:18 +0100 |
commit | daedff47ae0d45a303340e29d46edfe09c9f3618 (patch) | |
tree | 6e326859a949714199104ff84524779cb501bddc /src/util/virthread.c | |
parent | 6e28dee258bfa53eeb2bc4c325f03caa38f63099 (diff) | |
download | libvirt-daedff47ae0d45a303340e29d46edfe09c9f3618.tar.gz |
Use K&R style for curly braces in src/util/
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Diffstat (limited to 'src/util/virthread.c')
-rw-r--r-- | src/util/virthread.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/virthread.c b/src/util/virthread.c index d3dfd16c76..f0e14fcffe 100644 --- a/src/util/virthread.c +++ b/src/util/virthread.c @@ -1,7 +1,7 @@ /* * virthread.c: basic thread synchronization primitives * - * Copyright (C) 2009-2010 Red Hat, Inc. + * Copyright (C) 2009-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 @@ -83,7 +83,8 @@ void virMutexDestroy(virMutexPtr m) pthread_mutex_destroy(&m->lock); } -void virMutexLock(virMutexPtr m){ +void virMutexLock(virMutexPtr m) +{ pthread_mutex_lock(&m->lock); } |