summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-10-18 14:01:05 (GMT)
committerSean McBride <sean@rogue-research.com>2021-10-25 16:27:09 (GMT)
commit1cf14f8c03be76f39e60ccad5049a6f2cd00aa04 (patch)
tree1cdcd647478e605952ddf4e1f1591715384e3c2c /Source/CursesDialog
parent319944b3d289871c4cd21ee11aba1f5785d4b626 (diff)
downloadCMake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.zip
CMake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.tar.gz
CMake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.tar.bz2
Source: fix many -Wmissing-prototypes warnings by marking functions static
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/ccmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index 1ba45e5..ae4c0f6 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -55,7 +55,7 @@ cmCursesForm* cmCursesForm::CurrentForm = nullptr;
extern "C" {
-void onsig(int /*unused*/)
+static void onsig(int /*unused*/)
{
if (cmCursesForm::CurrentForm) {
endwin();