-struct proc;
-void fmt_puts __P((char *, int *));
-void fmt_putc __P((int, int *));
-void pr_attime __P((time_t *, time_t *));
-void pr_idle __P((time_t));
-int proc_compare __P((struct proc *, struct proc *));
+
+extern int use_ampm;
+
+struct extern_proc;
+void pr_attime(time_t *, time_t *);
+int pr_idle(time_t);
+int proc_compare(struct extern_proc *, struct extern_proc *);
+
+#define KI_PROC(ki) (&(ki)->kp->kp_proc)