aboutsummaryrefslogtreecommitdiffstats
path: root/src/sort.c
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/sort.c
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/sort.c')
-rw-r--r--src/sort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c
index 5aa4ffcbb..d98796b96 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -370,9 +370,9 @@ static unsigned int nmerge = NMERGE_DEFAULT;
This can be used safely from signal handlers,
and between fork and exec of multithreaded processes. */
-static void async_safe_die (int, const char *) ATTRIBUTE_NORETURN;
+static void async_safe_die (int, char const *) ATTRIBUTE_NORETURN;
static void
-async_safe_die (int errnum, const char *errstr)
+async_safe_die (int errnum, char const *errstr)
{
ignore_value (write (STDERR_FILENO, errstr, strlen (errstr)));