summaryrefslogtreecommitdiff
path: root/include/linux/sprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sprintf.h')
-rw-r--r--include/linux/sprintf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sprintf.h b/include/linux/sprintf.h
index 33dcbec71925..51cab2def9ec 100644
--- a/include/linux/sprintf.h
+++ b/include/linux/sprintf.h
@@ -24,4 +24,7 @@ __scanf(2, 0) int vsscanf(const char *, const char *, va_list);
extern bool no_hash_pointers;
int no_hash_pointers_enable(char *str);
+/* Used for Rust formatting ('%pA') */
+char *rust_fmt_argument(char *buf, char *end, const void *ptr);
+
#endif /* _LINUX_KERNEL_SPRINTF_H */