QDateTime: make qt_monthNumberFromShortName() static

It wasn't Q_DECL_EXPORT'ed, and there is no other user in QtCore.

Effects on Linux GCC 4.9 stripped release builds:
 text   -344B
 data    +-0B
 relocs  +-0

Change-Id: Iea0577d58057a145f87a00ec33995d03bacd4f88
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
bb10
Marc Mutz 2015-01-21 11:17:50 +01:00
parent 4fbd6ee52e
commit 1c4e2b02aa
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ static int qt_monthNumberFromShortName(QStringRef shortName)
}
return -1;
}
int qt_monthNumberFromShortName(const QString &shortName)
static int qt_monthNumberFromShortName(const QString &shortName)
{ return qt_monthNumberFromShortName(QStringRef(&shortName)); }
static int fromShortMonthName(const QStringRef &monthName)