aboutsummaryrefslogtreecommitdiff
path: root/cmd/printf.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-28 09:51:09 -0400
committerTom Rini <trini@konsulko.com>2021-07-28 09:51:09 -0400
commit22ecb12132a2de80a08654f139ff978176034c38 (patch)
tree87444c2cb41f82524b61135cf2be4b8dfb895ca4 /cmd/printf.h
parent55efa84d0f523b0609d6947d232c000824315a68 (diff)
parent5ea605ce49387f01384b8e5938554586ff9d61df (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.h8
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