diff options
author | comex | 2015-01-21 17:12:04 -0500 |
---|---|---|
committer | comex | 2015-01-21 17:12:04 -0500 |
commit | 894c8c65ee8ad57e91ff1fa3b6b87202aee551f9 (patch) | |
tree | 5a84db882c60fb411215285f1e06201d9c89dd68 /lib/substitute.h | |
parent | minor cleanup - stop caring about thumb outside of arch-specific code (diff) | |
download | substitute-894c8c65ee8ad57e91ff1fa3b6b87202aee551f9.tar.gz |
add substitute_strerror
Diffstat (limited to 'lib/substitute.h')
-rw-r--r-- | lib/substitute.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/substitute.h b/lib/substitute.h index 00cc1b8..3adb39a 100644 --- a/lib/substitute.h +++ b/lib/substitute.h @@ -59,6 +59,9 @@ struct substitute_function_hook { void *old_ptr; /* optional: out pointer to function pointer to call old impl */ }; +/* Get a string representation for a SUBSTITUTE_* error code. */ +const char *substitute_strerror(int err); + /* TODO doc */ int substitute_hook_functions(const struct substitute_function_hook *hooks, size_t nhooks, |