diff options
author | Bardur Arantsson <bardur@scientician.net> | 2018-03-25 20:07:31 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2018-03-25 20:07:31 +0200 |
commit | bf0ddb1341419740684db08812c3b077d101d25d (patch) | |
tree | fa3b5c1a13c126e5d2c28e6b667cd043350f1f46 /src/hooks.cc | |
parent | decd9655b60f7437e58e76b92ff658b639b5f92a (diff) |
Remove 'cptr' typedef
It's time to rip off the band-aid.
Diffstat (limited to 'src/hooks.cc')
-rw-r--r-- | src/hooks.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks.cc b/src/hooks.cc index bd2ea905..16bd144d 100644 --- a/src/hooks.cc +++ b/src/hooks.cc @@ -60,7 +60,7 @@ static std::vector<hook_data>::iterator find_hook(std::vector<hook_data> &hooks, }); } -void add_hook_new(int h_idx, hook_func_t hook_func, cptr name, void *data) +void add_hook_new(int h_idx, hook_func_t hook_func, const char *name, void *data) { auto &hooks = hooks_instance()[h_idx]; // Only insert if not already present. |