Merge "Mark getpagesize() const." am: 48d405ea4b

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636854

Change-Id: I859c61ff561882f479f5c14a4756bb06bd8f6b6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libc/include/unistd.h b/libc/include/unistd.h
index 98fab52..9385264 100644
--- a/libc/include/unistd.h
+++ b/libc/include/unistd.h
@@ -302,7 +302,7 @@
 
 int acct(const char* _Nullable __path);
 
-int getpagesize(void);
+int getpagesize(void) __attribute_const__;
 
 long syscall(long __number, ...);