summaryrefslogtreecommitdiff
path: root/gl/lib
diff options
context:
space:
mode:
authorEdgars Irmejs <edgars.irmejs@gmail.com>2014-04-23 22:20:40 +0300
committerPádraig Brady <P@draigBrady.com>2014-04-25 01:25:44 +0100
commit0c6928f70369626a9b734f2b8beb231acf1c0230 (patch)
tree8a40dd2fef0bd7efbd69225ba136f9eacf3525ec /gl/lib
parentea55db1a2348a539741d7ae80e88b772ed2d6757 (diff)
downloadcoreutils-0c6928f70369626a9b734f2b8beb231acf1c0230.tar.xz
maint: remove trailing comma from enum to make gl/ c89 compat
* gl/lib/fadvise.c (fadvice_t): This might go to gnulib some day so remove the trailing comma. Fixes http://bugs.gnu.org/17329
Diffstat (limited to 'gl/lib')
-rw-r--r--gl/lib/fadvise.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/lib/fadvise.h b/gl/lib/fadvise.h
index ce4bd7676..11ecd8f07 100644
--- a/gl/lib/fadvise.h
+++ b/gl/lib/fadvise.h
@@ -48,7 +48,7 @@ typedef enum {
FADVISE_NOREUSE = POSIX_FADV_NOREUSE,
FADVISE_DONTNEED = POSIX_FADV_DONTNEED,
FADVISE_WILLNEED = POSIX_FADV_WILLNEED,
- FADVISE_RANDOM = POSIX_FADV_RANDOM,
+ FADVISE_RANDOM = POSIX_FADV_RANDOM
} fadvice_t;
#else
typedef enum {
@@ -57,7 +57,7 @@ typedef enum {
FADVISE_NOREUSE,
FADVISE_DONTNEED,
FADVISE_WILLNEED,
- FADVISE_RANDOM,
+ FADVISE_RANDOM
} fadvice_t;
#endif