summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-27 06:34:52 +0000
committerJim Meyering <jim@meyering.net>2003-07-27 06:34:52 +0000
commitb595cc6f24ce1165458fb2fedebdafe3b9671463 (patch)
treecbb41fd490f9a3f4450c90e5850fbb05ec71b3f3 /src
parente206ab7b6f6e242eac54a75ff5885f4d9adb00d0 (diff)
downloadcoreutils-b595cc6f24ce1165458fb2fedebdafe3b9671463.tar.xz
(sort_files): Put `volatile' in the right place.
Diffstat (limited to 'src')
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index a058a7d90..1570ad094 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -2695,7 +2695,7 @@ sort_files (void)
{
/* `func' must be `volatile', so it can't be
clobbered by a `longjmp' into this function. */
- volatile int (*func) (V, V);
+ int (* volatile func) (V, V);
switch (sort_type)
{