From 9468b1da584511a4e19c0f0fe888b95e5536c9c8 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sat, 17 Apr 2021 03:23:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20DiabloUI/selyesno.cpp:=20Move=20?= =?UTF-8?q?to=20anonymous=20namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/DiabloUI/selyesno.cpp | 3 +++ Source/DiabloUI/selyesno.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/DiabloUI/selyesno.cpp b/Source/DiabloUI/selyesno.cpp index 6559ce716..46819915f 100644 --- a/Source/DiabloUI/selyesno.cpp +++ b/Source/DiabloUI/selyesno.cpp @@ -5,6 +5,7 @@ #include "DiabloUI/text.h" namespace devilution { +namespace { bool selyesno_endMenu; bool selyesno_value; @@ -45,6 +46,8 @@ void selyesno_Esc() selyesno_endMenu = true; } +} // namespace + bool UiSelHeroYesNoDialog(const char *title, const char *body) { LoadBackgroundArt("ui_art\\black.pcx"); diff --git a/Source/DiabloUI/selyesno.h b/Source/DiabloUI/selyesno.h index 3e2ae70d3..81a8aea12 100644 --- a/Source/DiabloUI/selyesno.h +++ b/Source/DiabloUI/selyesno.h @@ -3,8 +3,5 @@ namespace devilution { bool UiSelHeroYesNoDialog(const char *title, const char *body); -void selyesno_Free(); -void selyesno_Select(int value); -void selyesno_Esc(); } // namespace devilution