Deleted Added
full compact
users.cc (50477) users.cc (83232)
1/*
2 * Copyright (c) 1980, 1987, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)users.c 8.1 (Berkeley) 6/6/93";
43#endif
44static const char rcsid[] =
1/*
2 * Copyright (c) 1980, 1987, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)users.c 8.1 (Berkeley) 6/6/93";
43#endif
44static const char rcsid[] =
45 "$FreeBSD: head/usr.bin/users/users.c 50477 1999-08-28 01:08:13Z peter $";
45 "$FreeBSD: head/usr.bin/users/users.c 83232 2001-09-09 00:40:04Z mike $";
46#endif /* not lint */
47
48#include <sys/types.h>
49#include <err.h>
50#include <stdio.h>
51#include <stdlib.h>
52#include <string.h>
53#include <unistd.h>

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

112 (void)fprintf(stderr, "usage: users\n");
113 exit(1);
114}
115
116int
117scmp(p, q)
118 const void *p, *q;
119{
46#endif /* not lint */
47
48#include <sys/types.h>
49#include <err.h>
50#include <stdio.h>
51#include <stdlib.h>
52#include <string.h>
53#include <unistd.h>

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

112 (void)fprintf(stderr, "usage: users\n");
113 exit(1);
114}
115
116int
117scmp(p, q)
118 const void *p, *q;
119{
120 return(strncmp((char *)p, (char *)q, UT_NAMESIZE));
120 return(strncmp(p, q, UT_NAMESIZE));
121}
121}