diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-28 09:51:09 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 09:51:09 -0400 |
commit | 22ecb12132a2de80a08654f139ff978176034c38 (patch) | |
tree | 87444c2cb41f82524b61135cf2be4b8dfb895ca4 /cmd/printf.h | |
parent | 55efa84d0f523b0609d6947d232c000824315a68 (diff) | |
parent | 5ea605ce49387f01384b8e5938554586ff9d61df (diff) |
Merge branch '2021-07-28-setexpr-fmt-support'
- Add a new feature (and CONFIG option) to allow setexpr to take format
(%d, etc) arguments.
Diffstat (limited to 'cmd/printf.h')
-rw-r--r-- | cmd/printf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/printf.h b/cmd/printf.h new file mode 100644 index 0000000000..dcaff6d097 --- /dev/null +++ b/cmd/printf.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __PRINTF_H +#define __PRINTF_H + +int printf_setexpr(char *str, size_t size, int argc, char *const *argv); + +#endif |