summaryrefslogtreecommitdiff
path: root/rld.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-09-10 11:14:06 +1000
committerChris Johns <chrisj@rtems.org>2014-09-10 11:14:06 +1000
commita42e45957c2e9fd25e3b30c9aaeb33671754ad1c (patch)
treeb088a041964b65fdf4cc3da655b02920aec7acfe /rld.h
parent6cfee6a10df3b3d5d4fd5de55215506641dd82c9 (diff)
Make the verbose take the level and return the level if valid.
This makes the verbose a single and removes the need to have the logic of the test in the code.
Diffstat (limited to 'rld.h')
-rw-r--r--rld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rld.h b/rld.h
index f86ef34..7bd940b 100644
--- a/rld.h
+++ b/rld.h
@@ -187,7 +187,7 @@ namespace rld
* Return the verbose level. Setting the flag more than once raises the
* level.
*/
- int verbose ();
+ int verbose (int level = 0);
/**
* The version string.