summaryrefslogtreecommitdiffstats
path: root/tapset/builtin_warn.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/builtin_warn.stp')
-rw-r--r--tapset/builtin_warn.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tapset/builtin_warn.stp b/tapset/builtin_warn.stp
new file mode 100644
index 00000000..98fef7fe
--- /dev/null
+++ b/tapset/builtin_warn.stp
@@ -0,0 +1,7 @@
+function _warn (msg) %{
+ _stp_warn (THIS->msg);
+%}
+
+function warn (msg) {
+ return 0 + _warn (msg . "")
+}