=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/machine.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- src/usr.bin/top/machine.h 2003/06/13 21:52:25 1.7 +++ src/usr.bin/top/machine.h 2003/06/15 16:24:44 1.8 @@ -1,4 +1,4 @@ -/* $OpenBSD: machine.h,v 1.7 2003/06/13 21:52:25 deraadt Exp $ */ +/* $OpenBSD: machine.h,v 1.8 2003/06/15 16:24:44 millert Exp $ */ /* * Top users/processes display for Unix @@ -72,7 +72,7 @@ struct process_select { int idle; /* show idle processes */ int system; /* show system processes */ - int uid; /* only this uid (unless uid == -1) */ + uid_t uid; /* only this uid (unless uid == -1) */ char *command;/* only this command (unless == NULL) */ }; @@ -88,4 +88,4 @@ int (*) (const void *, const void *)); extern char *format_next_process(caddr_t, char *(*) ()); extern int proc_compate(const void *, const void *); -extern int proc_owner(pid_t); +extern uid_t proc_owner(pid_t);