aboutsummaryrefslogtreecommitdiffstats
path: root/src/set-fields.h
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2021-04-11 18:23:21 +0100
committerPádraig Brady <P@draigBrady.com>2021-04-11 18:33:45 +0100
commitef772bf97f7ec577754cbb5b278504d83cf41a43 (patch)
treeb6553bdc35b4d08368d427dbb3bb790acf43129c /src/set-fields.h
parentls: cache name width determination (diff)
downloadcoreutils-ef772bf97f7ec577754cbb5b278504d83cf41a43.tar.gz
coreutils-ef772bf97f7ec577754cbb5b278504d83cf41a43.zip
maint: use "char const *" rather than "const char *"
* cfg.mk (sc_prohibit-const-char): Add a new syntax-check to enforce this style. * *.[ch]: sed -i 's/const char \*/char const */g'
Diffstat (limited to 'src/set-fields.h')
-rw-r--r--src/set-fields.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/set-fields.h b/src/set-fields.h
index 85cdb8dcf..61d465f60 100644
--- a/src/set-fields.h
+++ b/src/set-fields.h
@@ -39,7 +39,7 @@ enum
};
/* allocates and initializes the FRP array and N_FRP count */
-extern void set_fields (const char *fieldstr, unsigned int options);
+extern void set_fields (char const *fieldstr, unsigned int options);
/* frees memory allocated by set_fields() */
extern void reset_fields (void);