diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-04-09 09:42:45 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-04-09 09:42:45 +0200 |
commit | cd9c2633c34e311aaeb7d1a58cdf62abaf03a78e (patch) | |
tree | 82d57e06f10b18b9479f83ed18350d43a0166f77 /crawl-ref/source/ctest.h | |
parent | 5aae360e0d1424800b9082cae1ba5123e7a71af1 (diff) | |
download | crawl-ref-cd9c2633c34e311aaeb7d1a58cdf62abaf03a78e.tar.gz crawl-ref-cd9c2633c34e311aaeb7d1a58cdf62abaf03a78e.zip |
Drop the namespace from ctest.cc
Namespaces private to a file are strictly worse than merely making everything
static. They'd be somewhat handy if you want to heavily use identifiers taken
globally (not a good idea), and if not, they just muddle things.
Diffstat (limited to 'crawl-ref/source/ctest.h')
-rw-r--r-- | crawl-ref/source/ctest.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/ctest.h b/crawl-ref/source/ctest.h index c521301188..6aabaa2ce9 100644 --- a/crawl-ref/source/ctest.h +++ b/crawl-ref/source/ctest.h @@ -2,12 +2,7 @@ #define CTEST_H #if defined(DEBUG_DIAGNOSTICS) || defined(DEBUG_TESTS) - -namespace crawl_tests -{ - void run_tests(bool exit_on_complete); -} - +void run_tests(bool exit_on_complete); #endif #endif |