aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/rng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rng.cpp')
-rw-r--r--src/cmd/rng.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cmd/rng.cpp b/src/cmd/rng.cpp
index e2a7a8270..187fbad1e 100644
--- a/src/cmd/rng.cpp
+++ b/src/cmd/rng.cpp
@@ -7,7 +7,9 @@
#include "apps.h"
#include <botan/libstate.h>
-int rng_main(int argc, char* argv[])
+namespace {
+
+int rng(int argc, char* argv[])
{
if(argc == 1)
{
@@ -49,3 +51,7 @@ int rng_main(int argc, char* argv[])
return 0;
}
+
+REGISTER_APP(rng);
+
+}