aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/base64.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-12 01:23:55 +0000
committerlloyd <[email protected]>2014-11-12 01:23:55 +0000
commit8b0cbccc7b11e545ed27bc6d7bda04b5cf632e60 (patch)
tree7ea9368d6ccaa85337a63b55e8bd15efa46fd357 /src/cmd/base64.cpp
parent67161b91163afad417f9483cb557b26c5f5f4bc0 (diff)
Command line prog cleanup
Diffstat (limited to 'src/cmd/base64.cpp')
-rw-r--r--src/cmd/base64.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cmd/base64.cpp b/src/cmd/base64.cpp
index 34711857c..de9954bab 100644
--- a/src/cmd/base64.cpp
+++ b/src/cmd/base64.cpp
@@ -15,7 +15,9 @@
#include <botan/b64_filt.h>
#include <botan/pipe.h>
-int base64_main(int argc, char* argv[])
+namespace {
+
+int base64(int argc, char* argv[])
{
if(argc < 2)
{
@@ -83,3 +85,7 @@ int base64_main(int argc, char* argv[])
}
return 0;
}
+
+REGISTER_APP(base64);
+
+}