=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/finger/sprint.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/finger/sprint.c 2003/06/03 02:56:08 1.7 --- src/usr.bin/finger/sprint.c 2003/06/10 22:20:46 1.8 *************** *** 1,4 **** ! /* $OpenBSD: sprint.c,v 1.7 2003/06/03 02:56:08 millert Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: sprint.c,v 1.8 2003/06/10 22:20:46 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. *************** *** 34,40 **** #ifndef lint /*static char sccsid[] = "from: @(#)sprint.c 5.8 (Berkeley) 12/4/90";*/ ! static char rcsid[] = "$OpenBSD: sprint.c,v 1.7 2003/06/03 02:56:08 millert Exp $"; #endif /* not lint */ #include --- 34,40 ---- #ifndef lint /*static char sccsid[] = "from: @(#)sprint.c 5.8 (Berkeley) 12/4/90";*/ ! static char rcsid[] = "$OpenBSD: sprint.c,v 1.8 2003/06/10 22:20:46 deraadt Exp $"; #endif /* not lint */ #include *************** *** 47,53 **** #include "extern.h" void ! sflag_print() { PERSON *pn; WHERE *w; --- 47,53 ---- #include "extern.h" void ! sflag_print(void) { PERSON *pn; WHERE *w; *************** *** 132,138 **** } PERSON ** ! sort() { PERSON *pn, **lp; PERSON **list; --- 132,138 ---- } PERSON ** ! sort(void) { PERSON *pn, **lp; PERSON **list; *************** *** 146,160 **** } int ! psort(p, t) ! const void *p, *t; { return(strcmp((*(PERSON **)p)->name, (*(PERSON **)t)->name)); } void ! stimeprint(w) ! WHERE *w; { struct tm *delta; --- 146,158 ---- } int ! psort(const void *p, const void *t) { return(strcmp((*(PERSON **)p)->name, (*(PERSON **)t)->name)); } void ! stimeprint(WHERE *w) { struct tm *delta;