summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-12-22 20:32:57 +0000
committerRoland McGrath <roland@gnu.org>2001-12-22 20:32:57 +0000
commit63f29d64f89b48a1d3542e00534264f76b4ef860 (patch)
tree7e6c37782af37e432898ca18918ab8870008177b /libps
parente5a639ff6bd54e22fa0e14d29e63ad9e38145dd9 (diff)
2001-12-22 Roland McGrath <roland@frob.com>
* spec.c (ps_emit_wait): Remove local extern decls for functions actually defined static.
Diffstat (limited to 'libps')
-rw-r--r--libps/spec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libps/spec.c b/libps/spec.c
index 1e30d95b..e0358edd 100644
--- a/libps/spec.c
+++ b/libps/spec.c
@@ -1,6 +1,6 @@
/* Access, formatting, & comparison routines for printing process info.
- Copyright (C) 1995,96,97,99 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,99,2001 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
@@ -731,7 +731,6 @@ ps_emit_wait (struct proc_stat *ps, struct ps_fmt_field *field,
else if (strcmp (wait, "kernel") == 0)
/* A syscall. RPC is actually the syscall number. */
{
- extern char *get_syscall_name (int num);
char *name = get_syscall_name (rpc);
if (! name)
{
@@ -744,7 +743,6 @@ ps_emit_wait (struct proc_stat *ps, struct ps_fmt_field *field,
/* An rpc (with msg id RPC); WAIT describes the dest port. */
{
char port_name_buf[20];
- extern char *get_rpc_name (mach_msg_id_t num);
char *name = get_rpc_name (rpc);
/* See if we should give a more useful name for the port. */