diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-10-29 23:54:17 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-10-30 14:04:08 -0400 |
commit | 473828ca6aef18c574b8665ae484513e5592af03 (patch) | |
tree | 74d6b8f205ce92282475ad0f6575ea0c5af01fc2 /src/generic/misc.h | |
parent | aaf3dc6ac3e3a38b0dd3508d72594214ede27c5c (diff) | |
download | kutter-473828ca6aef18c574b8665ae484513e5592af03.tar.gz kutter-473828ca6aef18c574b8665ae484513e5592af03.tar.xz kutter-473828ca6aef18c574b8665ae484513e5592af03.zip |
command: Add command_decode_ptr() helper
Add a helper function to convert from a string buffer passed in the
args[] parameter to an actual pointer. This avoids all the callers
needing to perfrom pointer manipulation.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/generic/misc.h')
-rw-r--r-- | src/generic/misc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/generic/misc.h b/src/generic/misc.h index eebd16d8..5e50633e 100644 --- a/src/generic/misc.h +++ b/src/generic/misc.h @@ -2,7 +2,6 @@ #define __GENERIC_MISC_H #include <stdarg.h> // va_list -#include <stddef.h> // size_t #include <stdint.h> // uint8_t struct command_encoder; |