Deleted Added
full compact
bsdstat.c (262821) bsdstat.c (262992)
1/*-
2 * Copyright (c) 2002-2007 Sam Leffler, Errno Consulting
3 * 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

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
1/*-
2 * Copyright (c) 2002-2007 Sam Leffler, Errno Consulting
3 * 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

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
29 * $FreeBSD: head/lib/libbsdstat/bsdstat.c 262821 2014-03-06 04:06:36Z adrian $
29 * $FreeBSD: head/lib/libbsdstat/bsdstat.c 262992 2014-03-11 01:10:44Z eadler $
30 */
31
32#include <stdio.h>
33#include <string.h>
34
35#include "bsdstat.h"
36
37static void

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

76
77static void
78bsdstat_update_tot(struct bsdstat *sf)
79{
80 fprintf(stderr, "%s: don't know how to update total data\n", sf->name);
81}
82
83static int
30 */
31
32#include <stdio.h>
33#include <string.h>
34
35#include "bsdstat.h"
36
37static void

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

76
77static void
78bsdstat_update_tot(struct bsdstat *sf)
79{
80 fprintf(stderr, "%s: don't know how to update total data\n", sf->name);
81}
82
83static int
84bsdstat_get(struct bsdstat *sf, int s, char b[], size_t bs)
84bsdstat_get(struct bsdstat *sf, int s, char b[] __unused, size_t bs __unused)
85{
86 fprintf(stderr, "%s: don't know how to get stat #%u\n", sf->name, s);
87 return 0;
88}
89
90static void
91bsdstat_print_header(struct bsdstat *sf, FILE *fd)
92{

--- 114 unchanged lines hidden ---
85{
86 fprintf(stderr, "%s: don't know how to get stat #%u\n", sf->name, s);
87 return 0;
88}
89
90static void
91bsdstat_print_header(struct bsdstat *sf, FILE *fd)
92{

--- 114 unchanged lines hidden ---