diff options
Diffstat (limited to 'src/core/func.h')
-rw-r--r-- | src/core/func.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/func.h b/src/core/func.h index 3a58295..ae158b5 100644 --- a/src/core/func.h +++ b/src/core/func.h @@ -17,10 +17,11 @@ namespace core { /// function pointer type -typedef void (* Func)(std::stringstream &args); +typedef void(* Func)(std::stringstream &args); /// the function registry -namespace func { +namespace func +{ /// add a function to the registry void add(const char *functionname, Func functionptr); |