summaryrefslogtreecommitdiff
path: root/lib/locks/bakery/bakery_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locks/bakery/bakery_lock.c')
-rw-r--r--lib/locks/bakery/bakery_lock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/locks/bakery/bakery_lock.c b/lib/locks/bakery/bakery_lock.c
index 3cb9248e..6d4ab87b 100644
--- a/lib/locks/bakery/bakery_lock.c
+++ b/lib/locks/bakery/bakery_lock.c
@@ -28,11 +28,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <arch_helpers.h>
#include <assert.h>
-#include <string.h>
-
#include <bakery_lock.h>
-#include <arch_helpers.h>
+#include <string.h>
/*
* Functions in this file implement Bakery Algorithm for mutual exclusion.