aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/sys/ptrace.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/ptrace.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/ptrace.h')
-rw-r--r--libc/include/sys/ptrace.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/include/sys/ptrace.h b/libc/include/sys/ptrace.h
index 4b881e743..022fc3a9e 100644
--- a/libc/include/sys/ptrace.h
+++ b/libc/include/sys/ptrace.h
@@ -25,6 +25,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
+
#ifndef _SYS_PTRACE_H_
#define _SYS_PTRACE_H_
@@ -58,8 +59,8 @@ __BEGIN_DECLS
#define PT_GETSIGINFO PTRACE_GETSIGINFO
#define PT_SETSIGINFO PTRACE_SETSIGINFO
-long ptrace(int, ...);
+long ptrace(int __request, ...);
__END_DECLS
-#endif /* _SYS_PTRACE_H_ */
+#endif