diff options
author | Jim Meyering <jim@meyering.net> | 2002-02-16 07:47:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-02-16 07:47:48 +0000 |
commit | 3741aa834bb3707600e80099d7b3b6982575f82e (patch) | |
tree | 08dc8a4a5d4f35aec97ec91f543930842039d6c0 /src | |
parent | e98b44e8297bc5b50a4591e9e884084290bf6367 (diff) | |
download | coreutils-3741aa834bb3707600e80099d7b3b6982575f82e.tar.xz |
(_POSIX2_VERSION, POSIX2_VERSION): Remove definitions.
(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): Likewise.
Diffstat (limited to 'src')
-rw-r--r-- | src/system.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/system.h b/src/system.h index 59d63809e..6e11e44bd 100644 --- a/src/system.h +++ b/src/system.h @@ -1,5 +1,5 @@ /* system-dependent definitions for fileutils, textutils, and sh-utils packages. - Copyright (C) 1989, 1991-2002 Free Software Foundation, Inc. + Copyright (C) 1989, 1991-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,32 +33,6 @@ # include <unistd.h> #endif -#ifndef _POSIX2_VERSION -# define _POSIX2_VERSION 0 -#endif - -/* The POSIX version that our programs should conform to. The default - is the same as for system programs. If the system does not specify - a version, assume the latest version, whatever it is. */ -#ifndef POSIX2_VERSION -# define POSIX2_VERSION (_POSIX2_VERSION ? _POSIX2_VERSION : 2147483647) -#endif - -/* "::" if a short option can take an optional argument, ":" if the - argument is required. "::" is mostly obsolete with POSIX - 1003.1-2001, which in most cases does not allow short options with - optional arguments. */ -#if POSIX2_VERSION < 200112 -# define OPTARG_POSIX "::" -#else -# define OPTARG_POSIX ":" -#endif - -/* If nonzero, warn when obsolete options are detected. */ -#ifndef OBSOLETE_OPTION_WARNINGS -# define OBSOLETE_OPTION_WARNINGS 1 -#endif - #ifndef STDIN_FILENO # define STDIN_FILENO 0 #endif |