rwho.c (c06e7b66a147edf55f4241fbfbfa32856550cd15) | rwho.c (1a7ac2bd24c1763b0d32e23d9c70308fbc24b07a) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1983, 1993 The Regents of the University of California. 5 * Copyright (c) 2013 Mariusz Zaborski <oshogbo@FreeBSD.org> 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 69 unchanged lines hidden (view full) --- 78 char myhost[sizeof(wd.wd_hostname)]; 79 int myidle; 80 struct outmp myutmp; 81} myutmp[NUSERS]; 82 83static time_t now; 84static int aflg; 85 | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1983, 1993 The Regents of the University of California. 5 * Copyright (c) 2013 Mariusz Zaborski <oshogbo@FreeBSD.org> 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 69 unchanged lines hidden (view full) --- 78 char myhost[sizeof(wd.wd_hostname)]; 79 int myidle; 80 struct outmp myutmp; 81} myutmp[NUSERS]; 82 83static time_t now; 84static int aflg; 85 |
86static void usage(void); | 86static void usage(void) __dead2; |
87static int utmpcmp(const void *, const void *); 88 89int 90main(int argc, char *argv[]) 91{ 92 int ch; 93 struct dirent *dp; 94 int width; --- 156 unchanged lines hidden --- | 87static int utmpcmp(const void *, const void *); 88 89int 90main(int argc, char *argv[]) 91{ 92 int ch; 93 struct dirent *dp; 94 int width; --- 156 unchanged lines hidden --- |