From 8b0cbccc7b11e545ed27bc6d7bda04b5cf632e60 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 12 Nov 2014 01:23:55 +0000 Subject: Command line prog cleanup --- src/cmd/base64.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/cmd/base64.cpp') 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 #include -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); + +} -- cgit v1.2.3