wireshark_zip_helper(Qt): fix no previous prototype for function

wireshark_zip_helper.cpp:153:15: warning: no previous prototype for function 'qDateToDosDate' [-Wmissing-prototypes]

Change-Id: Ic9ffb4219321347c077e08931d6fe51bc1702a29
Reviewed-on: https://code.wireshark.org/review/36889
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Alexis La Goutte 2020-04-20 08:35:05 +00:00 committed by Gerald Combs
parent c0069d9676
commit 15b53b6892
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ bool WiresharkZipHelper::unzip(QString zipFile, QString directory, bool (*fileCh
#define UINT32_MAX (0xffffffff)
#endif
unsigned long qDateToDosDate(QDateTime time)
static unsigned long qDateToDosDate(QDateTime time)
{
QDate ld = time.toLocalTime().date();