Fix some clang-format issues
Fix some formatting issues that clang-format wanted to fix in the next
CL.
Test: builds
Change-Id: I37ede84672a2ae7c262da00319d7dbc132d7f4d8
diff --git a/tests/dlfcn_test.cpp b/tests/dlfcn_test.cpp
index 6bbe41b..2024b45 100644
--- a/tests/dlfcn_test.cpp
+++ b/tests/dlfcn_test.cpp
@@ -18,8 +18,8 @@
#include <dlfcn.h>
#include <limits.h>
-#include <stdio.h>
#include <stdint.h>
+#include <stdio.h>
#include <string.h>
#if __has_include(<sys/auxv.h>)
#include <sys/auxv.h>
diff --git a/tests/libgen_basename_test.cpp b/tests/libgen_basename_test.cpp
index 1202af6..fd3a81c 100644
--- a/tests/libgen_basename_test.cpp
+++ b/tests/libgen_basename_test.cpp
@@ -34,7 +34,7 @@
#include <libgen.h>
#if !defined(basename) && !defined(MUSL)
- #error basename should be defined at this point
+#error basename should be defined at this point
#endif
static char* posix_basename(char* in) {
diff --git a/tests/netdb_test.cpp b/tests/netdb_test.cpp
index 0205707..381ba50 100644
--- a/tests/netdb_test.cpp
+++ b/tests/netdb_test.cpp
@@ -19,10 +19,10 @@
#include <gtest/gtest.h>
#include <arpa/inet.h>
-#include <string.h>
-#include <sys/types.h>
-#include <sys/socket.h>
#include <netinet/in.h>
+#include <string.h>
+#include <sys/socket.h>
+#include <sys/types.h>
// https://code.google.com/p/android/issues/detail?id=13228
TEST(netdb, freeaddrinfo_NULL) {
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp
index 9d840f5..99197c9 100644
--- a/tests/stdio_test.cpp
+++ b/tests/stdio_test.cpp
@@ -19,14 +19,14 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
+#include <locale.h>
#include <math.h>
#include <stdio.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
+#include <sys/types.h>
#include <unistd.h>
#include <wchar.h>
-#include <locale.h>
#include <string>
#include <thread>