From 0cb349b60ea17378a4c163f0c8b12e8b17988cee Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 4 Aug 2018 11:54:34 +0200 Subject: Utility calls static --- gui/ecp5/mainwindow.cc | 2 +- gui/ice40/mainwindow.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gui') diff --git a/gui/ecp5/mainwindow.cc b/gui/ecp5/mainwindow.cc index 510b0201..efaad364 100644 --- a/gui/ecp5/mainwindow.cc +++ b/gui/ecp5/mainwindow.cc @@ -76,7 +76,7 @@ void MainWindow::createMenu() { static const ChipInfoPOD *get_chip_info(const RelPtr *ptr) { return ptr->get(); } -QStringList getSupportedPackages(ArchArgs::ArchArgsTypes chip) +static QStringList getSupportedPackages(ArchArgs::ArchArgsTypes chip) { QStringList packages; const ChipInfoPOD *chip_info; diff --git a/gui/ice40/mainwindow.cc b/gui/ice40/mainwindow.cc index 3463e122..40b863e9 100644 --- a/gui/ice40/mainwindow.cc +++ b/gui/ice40/mainwindow.cc @@ -80,7 +80,7 @@ void MainWindow::createMenu() static const ChipInfoPOD *get_chip_info(const RelPtr *ptr) { return ptr->get(); } -QStringList getSupportedPackages(ArchArgs::ArchArgsTypes chip) +static QStringList getSupportedPackages(ArchArgs::ArchArgsTypes chip) { QStringList packages; const ChipInfoPOD *chip_info; -- cgit v1.2.3