Преглед изворни кода

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