summaryrefslogtreecommitdiffstats
path: root/users/mtei/pseudo_sprintf.h
diff options
context:
space:
mode:
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>2022-04-22 06:48:50 +0900
committerGitHub <noreply@github.com>2022-04-21 14:48:50 -0700
commitc2939bf03833e013742ecc74d8229832c88656c2 (patch)
treea4a07d2c17c83a0d3836a6dbf86fbaa91dce8918 /users/mtei/pseudo_sprintf.h
parent1e389c7904e42df36d8a2f64b315b83f70aa9b60 (diff)
[Keymap] Fix build error `helix:five_rows` (#16847)
Diffstat (limited to 'users/mtei/pseudo_sprintf.h')
-rw-r--r--users/mtei/pseudo_sprintf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/mtei/pseudo_sprintf.h b/users/mtei/pseudo_sprintf.h
new file mode 100644
index 0000000000..1b91ee5ea8
--- /dev/null
+++ b/users/mtei/pseudo_sprintf.h
@@ -0,0 +1,8 @@
+// Copyright 2022 Takeshi Ishii (@mtei)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+char *sprints(char *buf, char *src);
+char *sprintd(char *buf, char *leadstr, int data);
+char *sprint2d(char *buf, char *leadstr, int data);