瀏覽代碼

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);