Module Name:    src
Committed By:   kamil
Date:           Thu Apr 11 20:20:54 UTC 2019

Modified Files:
        src/tests/lib/libc/sys: t_ptrace_wait.h

Log Message:
Add clone_func() in t_ptrace_wait.h


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/tests/lib/libc/sys/t_ptrace_wait.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/sys/t_ptrace_wait.h
diff -u src/tests/lib/libc/sys/t_ptrace_wait.h:1.14 src/tests/lib/libc/sys/t_ptrace_wait.h:1.15
--- src/tests/lib/libc/sys/t_ptrace_wait.h:1.14	Sun Feb 10 02:13:45 2019
+++ src/tests/lib/libc/sys/t_ptrace_wait.h	Thu Apr 11 20:20:54 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_ptrace_wait.h,v 1.14 2019/02/10 02:13:45 kamil Exp $	*/
+/*	$NetBSD: t_ptrace_wait.h,v 1.15 2019/04/11 20:20:54 kamil Exp $	*/
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -513,6 +513,16 @@ infinite_thread(void *arg __unused)
         __unreachable();
 }
 
+static int __used
+clone_func(void *arg)
+{
+	int ret;
+
+	ret = (int)(intptr_t)arg;
+
+	return ret;
+}
+
 #if defined(HAVE_DBREGS)
 static bool __used
 can_we_set_dbregs(void)

Reply via email to