From c093f29f6bd2817cfc05e44d68b9a78fa0141ecf Mon Sep 17 00:00:00 2001 From: Erik Hallnor Date: Thu, 16 Oct 2003 17:56:16 -0400 Subject: [PATCH] Clear up the last of the Doxygen warnings base/statistics.hh: Document the friend class because doxygen can't handle the template instantiation. kern/tru64/dump_mbuf.cc: kern/tru64/dump_mbuf.hh: kern/tru64/printf.cc: kern/tru64/printf.hh: kern/tru64/tru64_events.cc: Change namespace from Tru64 to tru64 (There is a class Tru64, and it was confusing doxygen). --HG-- extra : convert_revision : 9644b1324814952cb6a2d98fd2ab4d07f0860b45 --- base/statistics.hh | 1 + kern/tru64/dump_mbuf.cc | 2 +- kern/tru64/dump_mbuf.hh | 2 +- kern/tru64/printf.cc | 2 +- kern/tru64/printf.hh | 2 +- kern/tru64/tru64_events.cc | 6 +++--- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/base/statistics.hh b/base/statistics.hh index 4afdf2391..bd70cf8a0 100644 --- a/base/statistics.hh +++ b/base/statistics.hh @@ -717,6 +717,7 @@ class VectorBase : public VectorStat return *this; } + /** Friend this class with the associated scalar proxy. */ friend class ScalarProxy; /** diff --git a/kern/tru64/dump_mbuf.cc b/kern/tru64/dump_mbuf.cc index b8ab7fa7c..42a2d719c 100644 --- a/kern/tru64/dump_mbuf.cc +++ b/kern/tru64/dump_mbuf.cc @@ -37,7 +37,7 @@ #include "targetarch/isa_traits.hh" #include "targetarch/vtophys.hh" -namespace Tru64 { +namespace tru64 { void DumpMbuf(AlphaArguments args) diff --git a/kern/tru64/dump_mbuf.hh b/kern/tru64/dump_mbuf.hh index 6052fa56a..f0b4c45fa 100644 --- a/kern/tru64/dump_mbuf.hh +++ b/kern/tru64/dump_mbuf.hh @@ -31,7 +31,7 @@ class AlphaArguments; -namespace Tru64 { +namespace tru64 { void DumpMbuf(AlphaArguments args); } diff --git a/kern/tru64/printf.cc b/kern/tru64/printf.cc index 65e78d0fa..a3438ec5b 100644 --- a/kern/tru64/printf.cc +++ b/kern/tru64/printf.cc @@ -37,7 +37,7 @@ using namespace std; -namespace Tru64 { +namespace tru64 { void Printf(AlphaArguments args) diff --git a/kern/tru64/printf.hh b/kern/tru64/printf.hh index 16129802c..2461665b4 100644 --- a/kern/tru64/printf.hh +++ b/kern/tru64/printf.hh @@ -31,7 +31,7 @@ class AlphaArguments; -namespace Tru64 { +namespace tru64 { void Printf(AlphaArguments args); } diff --git a/kern/tru64/tru64_events.cc b/kern/tru64/tru64_events.cc index 3717fd9a2..538246333 100644 --- a/kern/tru64/tru64_events.cc +++ b/kern/tru64/tru64_events.cc @@ -80,7 +80,7 @@ PrintfEvent::process(ExecContext *xc) DebugOut() << curTick << ": " << xc->cpu->name() << ": "; AlphaArguments args(xc); - Tru64::Printf(args); + tru64::Printf(args); } } @@ -92,7 +92,7 @@ DebugPrintfEvent::process(ExecContext *xc) DebugOut() << curTick << ": " << xc->cpu->name() << ": "; AlphaArguments args(xc); - Tru64::Printf(args); + tru64::Printf(args); } } @@ -101,7 +101,7 @@ DumpMbufEvent::process(ExecContext *xc) { if (DTRACE(DebugPrintf)) { AlphaArguments args(xc); - Tru64::DumpMbuf(args); + tru64::DumpMbuf(args); } } -- 2.30.2