aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/sys/swap.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-08-17 22:34:21 +0000
committerElliott Hughes <enh@google.com>2017-08-18 00:00:38 +0000
commitff26a16c1de7be696719e9001f0707b7c55b52cf (patch)
tree1f2667df4a1ed2dd79cb53a6231cb88d3d9ade13 /libc/include/sys/swap.h
parent9af9120091ceb96641d7c6c645fabad96db4bc0d (diff)
downloadandroid_bionic-ff26a16c1de7be696719e9001f0707b7c55b52cf.tar.gz
android_bionic-ff26a16c1de7be696719e9001f0707b7c55b52cf.tar.bz2
android_bionic-ff26a16c1de7be696719e9001f0707b7c55b52cf.zip
Re-submit "Name function arguments in libc headers for Studio."
This reverts commit 9af9120091ceb96641d7c6c645fabad96db4bc0d (a revert of 079bff4fa52b0c3c76057451cc9cdecf1827fce0), now the versioner bug is fixed. Bug: http://b/64613623 # header bug Bug: http://b/64802958 # versioner bug Change-Id: I1cb9d7832d4b3aecdc57a9285e2291443e59d02d
Diffstat (limited to 'libc/include/sys/swap.h')
-rw-r--r--libc/include/sys/swap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/include/sys/swap.h b/libc/include/sys/swap.h
index e79af97a7..8a30ccef5 100644
--- a/libc/include/sys/swap.h
+++ b/libc/include/sys/swap.h
@@ -38,9 +38,9 @@ __BEGIN_DECLS
#define SWAP_FLAG_PRIO_MASK 0x7fff
#define SWAP_FLAG_PRIO_SHIFT 0
-int swapon(const char*, int) __INTRODUCED_IN(19);
-int swapoff(const char*) __INTRODUCED_IN(19);
+int swapon(const char* __path, int __flags) __INTRODUCED_IN(19);
+int swapoff(const char* __path) __INTRODUCED_IN(19);
__END_DECLS
-#endif /* _SYS_SWAP_H_ */
+#endif