Browse Source

made readdir() static

Sergey Lyubka 13 năm trước cách đây
mục cha
commit
e6357396ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      mongoose.c

+ 1 - 1
mongoose.c

@@ -1129,7 +1129,7 @@ static int closedir(DIR *dir) {
   return result;
 }
 
-struct dirent * readdir(DIR *dir) {
+static struct dirent *readdir(DIR *dir) {
   struct dirent *result = 0;
 
   if (dir) {