Deleted Added
full compact
eeprom.c (129590) eeprom.c (201227)
1/*-
2 * Copyright (c) 1996 The NetBSD Foundation, Inc.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The NetBSD Foundation
6 * by Jason R. Thorpe.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 * POSSIBILITY OF SUCH DAMAGE.
35 *
36 * from: NetBSD: main.c,v 1.15 2001/02/19 23:22:42 cgd Exp
37 */
38
39#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1996 The NetBSD Foundation, Inc.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The NetBSD Foundation
6 * by Jason R. Thorpe.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 * POSSIBILITY OF SUCH DAMAGE.
35 *
36 * from: NetBSD: main.c,v 1.15 2001/02/19 23:22:42 cgd Exp
37 */
38
39#include <sys/cdefs.h>
40__FBSDID("$FreeBSD: head/usr.sbin/eeprom/eeprom.c 129590 2004-05-22 16:56:04Z marius $");
40__FBSDID("$FreeBSD: head/usr.sbin/eeprom/eeprom.c 201227 2009-12-29 22:53:27Z ed $");
41
42#include <err.h>
43#include <stdio.h>
44#include <stdlib.h>
45#include <string.h>
46#include <sysexits.h>
47#include <unistd.h>
48

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

141 warnx("invalid value '%s' for '%s'.", arg, keyword);
142 break;
143 }
144 free(keyword);
145 return(rv);
146}
147
148static void
41
42#include <err.h>
43#include <stdio.h>
44#include <stdlib.h>
45#include <string.h>
46#include <sysexits.h>
47#include <unistd.h>
48

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

141 warnx("invalid value '%s' for '%s'.", arg, keyword);
142 break;
143 }
144 free(keyword);
145 return(rv);
146}
147
148static void
149dump_config()
149dump_config(void)
150{
151
152 ofwo_dump();
153}
150{
151
152 ofwo_dump();
153}