瀏覽代碼

fix const position typo as pointed out by ia64/gcc

Mike Frysinger 18 年之前
父節點
當前提交
80753368c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/misc/dirent.c

+ 1 - 1
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),