Skip to content

Commit

Permalink
[compiler-rt] Fix formatting.
Browse files Browse the repository at this point in the history
Signed-off-by: funsafe-ptr <[email protected]>
  • Loading branch information
funsafe-ptr committed Nov 23, 2024
1 parent 0506266 commit d7ce33f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@
# include <sys/personality.h>
# endif

# if SANITIZER_ANDROID && __ANDROID_API__ < 35
# if SANITIZER_ANDROID && __ANDROID_API__ < 35
// The weak strerrorname_np definition allows to check for the API level at
// runtime.
extern "C" SANITIZER_WEAK_ATTRIBUTE const char* strerrorname_np(int);
# endif
extern "C" SANITIZER_WEAK_ATTRIBUTE const char *strerrorname_np(int);
# endif

# if SANITIZER_LINUX && defined(__loongarch__)
# include <sys/sysmacros.h>
Expand Down Expand Up @@ -1221,7 +1221,7 @@ uptr GetPageSize() {
return (uptr)pz;
# elif SANITIZER_USE_GETAUXVAL
# if SANITIZER_ANDROID && __ANDROID_API__ < 35
// The 16 KB page size was introduced in Android 15, while earlier versions
// The 16 KB page size was introduced in Android 15, while earlier versions
// of Android used a 4 KB page size.
if (!strerrorname_np)
return 4096;
Expand Down

0 comments on commit d7ce33f

Please sign in to comment.