瀏覽代碼

Add gettimeofday declaration in sys/time.h

Bernard Xiong 12 年之前
父節點
當前提交
2bcb9edd91
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      components/libc/minilibc/sys/time.h

+ 2 - 0
components/libc/minilibc/sys/time.h

@@ -40,4 +40,6 @@ struct tm {
   const char *tm_zone;		/* Timezone abbreviation.  */
 };
 
+int gettimeofday(struct timeval *tp, void *ignore);
+
 #endif