]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove posixver.h and its uses.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2005 16:41:59 +0000 (16:41 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2005 16:41:59 +0000 (16:41 +0000)
(main): Always support -NUM option.

src/nice.c

index 520821464ada2ec7a44f5daa518ddaa51bad5ce2..814316c98f30d7f07e66799e54138d6874a95fe8 100644 (file)
@@ -35,7 +35,6 @@
 
 #include "error.h"
 #include "long-options.h"
-#include "posixver.h"
 #include "xstrtol.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
@@ -118,8 +117,7 @@ main (int argc, char **argv)
     {
       char const *s = argv[i];
 
-      if (s[0] == '-' && ISDIGIT (s[1 + (s[1] == '-' || s[1] == '+')])
-         && posix2_version () < 200112)
+      if (s[0] == '-' && ISDIGIT (s[1 + (s[1] == '-' || s[1] == '+')]))
        {
          adjustment_given = s + 1;
          ++i;