From: Jim Meyering Date: Thu, 2 Nov 1995 17:11:51 +0000 (+0000) Subject: Add `const' attribute to some parameters. X-Git-Tag: FILEUTILS-3_12f~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83b9d5e9ef387bc03370917940efa78e2e26845b;p=thirdparty%2Fcoreutils.git Add `const' attribute to some parameters. --- diff --git a/src/unexpand.c b/src/unexpand.c index 0fd738ad07..c019ce07fe 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -124,7 +124,7 @@ add_tabstop (int tabval) to the list of tabstops. */ static void -parse_tabstops (char *stops) +parse_tabstops (const char *stops) { int tabval = -1; @@ -152,7 +152,7 @@ parse_tabstops (char *stops) contains only nonzero, ascending values. */ static void -validate_tabstops (int *tabs, int entries) +validate_tabstops (const int *tabs, int entries) { int prev_tab = 0; int i;