Deleted Added
full compact
getopt.h (104128) getopt.h (126140)
1/* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */
1/* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */
2/* $FreeBSD: head/include/getopt.h 104128 2002-09-29 04:14:37Z eric $ */
2/* $FreeBSD: head/include/getopt.h 126140 2004-02-23 03:47:28Z ache $ */
3
4/*-
5 * Copyright (c) 2000 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Dieter Baron and Thomas Klausner.
10 *

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

39
40#ifndef _GETOPT_H_
41#define _GETOPT_H_
42
43#include <sys/cdefs.h>
44#include <unistd.h>
45
46/*
3
4/*-
5 * Copyright (c) 2000 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Dieter Baron and Thomas Klausner.
10 *

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

39
40#ifndef _GETOPT_H_
41#define _GETOPT_H_
42
43#include <sys/cdefs.h>
44#include <unistd.h>
45
46/*
47 * Gnu like getopt_long() and BSD4.4 getsubopt()/optreset extensions
47 * GNU-like getopt_long()
48 */
49#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
50#define no_argument 0
51#define required_argument 1
52#define optional_argument 2
53
54struct option {
55 /* name of long option */

--- 19 unchanged lines hidden ---
48 */
49#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
50#define no_argument 0
51#define required_argument 1
52#define optional_argument 2
53
54struct option {
55 /* name of long option */

--- 19 unchanged lines hidden ---