ソースを参照

removed unused struct timespec

Sergey Lyubka 12 年 前
コミット
4dff36ffde
1 ファイル変更0 行追加5 行削除
  1. 0 5
      mongoose.c

+ 0 - 5
mongoose.c

@@ -141,11 +141,6 @@ typedef struct {HANDLE signal, broadcast;} pthread_cond_t;
 typedef DWORD pthread_t;
 #define pid_t HANDLE // MINGW typedefs pid_t to int. Using #define here.
 
-struct timespec {
-  long tv_nsec;
-  long tv_sec;
-};
-
 static int pthread_mutex_lock(pthread_mutex_t *);
 static int pthread_mutex_unlock(pthread_mutex_t *);
 static FILE *mg_fopen(const char *path, const char *mode);