فهرست منبع

Z991239-4900 #comment 去除上传实体中无用的方法

Signed-Off-By: commit-hook
刘文涛80174520 2 سال پیش
والد
کامیت
e597796290
2فایلهای تغییر یافته به همراه1 افزوده شده و 7 حذف شده
  1. 1 6
      Module/mod_upload/upload.cpp
  2. 0 1
      Module/mod_upload/upload.h

+ 1 - 6
Module/mod_upload/upload.cpp

@@ -244,12 +244,7 @@ static int check_zero_ref(const char *path)
 
 #else
 
-unsigned long GetTickCount()
-{
-	struct timespec ts;
-	clock_gettime(CLOCK_MONOTONIC, &ts);
-	return (ts.tv_sec * 1000 + ts.tv_nsec / 1000000);
-}
+
 
 int changeFileAtt(const char* path)
 {

+ 0 - 1
Module/mod_upload/upload.h

@@ -50,7 +50,6 @@ struct upload_dir_t {
 #ifdef RVC_OS_WIN
 
 #else
-	unsigned long GetTickCount();
 	int changeFileAtt(const char* path);
 	long getLinuxFileCTime(const char* fileName);
 #endif // RVC_OS_WIN