aboutsummaryrefslogtreecommitdiffstats
path: root/src/pr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pr.c')
-rw-r--r--src/pr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pr.c b/src/pr.c
index a08da2fd7..eafab398b 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -313,6 +313,7 @@
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
+#include "c-ctype.h"
#include "fadvise.h"
#include "hard-locale.h"
#include "mbswidth.h"
@@ -887,7 +888,7 @@ main (int argc, char **argv)
if (c == -1)
break;
- if (ISDIGIT (c))
+ if (c_isdigit (c))
{
/* Accumulate column-count digits specified via old-style options. */
if (n_digits + 1 >= n_alloc)
@@ -1175,7 +1176,7 @@ getoptarg (char *arg, char switch_char, char *character, int *number)
usage (EXIT_FAILURE);
}
- if (!ISDIGIT (*arg))
+ if (!c_isdigit (*arg))
*character = *arg++;
if (*arg)
{