summaryrefslogtreecommitdiff
path: root/src/util/virthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/virthread.c')
-rw-r--r--src/util/virthread.c5
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);
}