summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/misc/dirent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/misc/dirent.c b/test/misc/dirent.c
index c348c0db3..491e3cf75 100644
--- a/test/misc/dirent.c
+++ b/test/misc/dirent.c
@@ -6,7 +6,7 @@
#include <dirent.h>
#define _DTIFY(DT) [DT] #DT
-const char const *types[] = {
+const char * const types[] = {
_DTIFY(DT_UNKNOWN),
_DTIFY(DT_FIFO),
_DTIFY(DT_CHR),