From 4834dad062658ef49ef86c9c48eb004c48a242a5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 8 Apr 2020 14:33:35 -0600 Subject: Wrap shared windows-nat code in windows_nat namespace This wraps the shared windows-nat code in a windows_nat namespace. This helps avoid name clashes. gdb/ChangeLog 2020-04-08 Tom Tromey * windows-nat.c: Add "using namespace". * nat/windows-nat.h: Wrap contents in windows_nat namespace. * nat/windows-nat.c: Wrap contents in windows_nat namespace. gdbserver/ChangeLog 2020-04-08 Tom Tromey * win32-low.h (struct win32_target_ops): Use qualified names where needed. * win32-i386-low.c: Add "using namespace". * win32-low.c: Add "using namespace". * win32-arm-low.c: Add "using namespace". --- gdbserver/win32-arm-low.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdbserver/win32-arm-low.cc') diff --git a/gdbserver/win32-arm-low.cc b/gdbserver/win32-arm-low.cc index c50c5df..78b7fd0 100644 --- a/gdbserver/win32-arm-low.cc +++ b/gdbserver/win32-arm-low.cc @@ -18,6 +18,8 @@ #include "server.h" #include "win32-low.h" +using namespace windows_nat; + #ifndef CONTEXT_FLOATING_POINT #define CONTEXT_FLOATING_POINT 0 #endif -- cgit v1.1