Make pid2tcb static
* defs.h: Remove pid2tcb declaration.
* strace.c (pid2tcb): Make this function static.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/defs.h b/defs.h
index de5bd4b..59a8a09 100644
--- a/defs.h
+++ b/defs.h
@@ -597,7 +597,6 @@
extern void set_personality(int personality);
extern const char *xlookup(const struct xlat *, int);
extern struct tcb *alloc_tcb(int, int);
-extern struct tcb *pid2tcb(int);
extern void droptcb(struct tcb *);
#define alloctcb(pid) alloc_tcb((pid), 1)
diff --git a/strace.c b/strace.c
index 20c0266..782fe8f 100644
--- a/strace.c
+++ b/strace.c
@@ -1607,7 +1607,7 @@
#endif /* USE_PROCFS */
-struct tcb *
+static struct tcb *
pid2tcb(int pid)
{
int i;