Deleted Added
full compact
sprint.c (63007) sprint.c (72109)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Tony Nardo of the Johns Hopkins University/Applied Physics Lab.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 23 unchanged lines hidden (view full) ---

32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 */
36
37#ifndef lint
38#if 0
39static char sccsid[] = "@(#)sprint.c 8.3 (Berkeley) 4/28/95";
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Tony Nardo of the Johns Hopkins University/Applied Physics Lab.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 23 unchanged lines hidden (view full) ---

32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 */
36
37#ifndef lint
38#if 0
39static char sccsid[] = "@(#)sprint.c 8.3 (Berkeley) 4/28/95";
40#else
41static const char rcsid[] =
42 "$FreeBSD: head/usr.bin/finger/sprint.c 63007 2000-07-12 09:50:20Z asmodai $";
43#endif
40#endif
41static const char rcsid[] =
42 "$FreeBSD: head/usr.bin/finger/sprint.c 72109 2001-02-06 20:13:48Z charnier $";
44#endif /* not lint */
45
43#endif /* not lint */
44
46#include <sys/types.h>
47#include <sys/time.h>
48#include <time.h>
49#include <db.h>
50#include <err.h>
51#include <pwd.h>
45#include <db.h>
46#include <err.h>
47#include <pwd.h>
52#include <errno.h>
53#include <utmp.h>
54#include <stdio.h>
48#include <stdio.h>
55#include <stdlib.h>
56#include <string.h>
49#include <string.h>
50#include <time.h>
51#include <utmp.h>
57#include "finger.h"
58
59static void stimeprint __P((WHERE *));
60
61void
62sflag_print()
63{
64 extern time_t now;

--- 110 unchanged lines hidden ---
52#include "finger.h"
53
54static void stimeprint __P((WHERE *));
55
56void
57sflag_print()
58{
59 extern time_t now;

--- 110 unchanged lines hidden ---