summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-31 00:10:57 -0400
committerspv420 <spv@spv.sh>2022-07-31 00:10:57 -0400
commitaa680a3db6983197bee977ca02b4d29499ccbd8f (patch)
tree0046cada8deb3730c82e967fdddb6220086fd30a /src
parent5ce0301303f06f5248d9ab40830582d0f3e1c719 (diff)
slimming
Diffstat (limited to 'src')
-rwxr-xr-xsrc/js/lib/myutils.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/js/lib/myutils.js b/src/js/lib/myutils.js
index 001bb7d..553a0ab 100755
--- a/src/js/lib/myutils.js
+++ b/src/js/lib/myutils.js
@@ -27,43 +27,6 @@ function printf() {
return calls4arg.apply(this, args_to_pass);
}
-/*
-function syslog() {
- if (arguments.length > 4) {
- return printf("warning: tried to printf with %d args, max %d.\n", arguments.length, 4);
- }
-
- var args_to_pass = new Array();
-
- sym = "syslog";
-
- if (sym in sym_cache) {
- var addy = sym_cache[sym];
- } else {
- var dlsym_addy = read_u32(reserve_addr + 24 + slid);
- var shc_slide = read_u32(reserve_addr + 20 + slid);
- var addy = call4arg(dlsym_addy + shc_slide, 0xfffffffe, sptr(sym), 0, 0);
- sym_cache[sym] = addy;
- }
-
- args_to_pass.push(addy);
-
- for (var i = 0; i < arguments.length; i++) {
- if (arguments[i].constructor === String) {
- args_to_pass.push(sptr(arguments[i]));
- } else {
- args_to_pass.push(arguments[i]);
- }
- }
-
- return callnarg.apply(this, args_to_pass);
-}
-
-function sleep(t) {
- return calls4arg("sleep", t, 0, 0, 0);
-}
- */
-
function scall_wrapper(s) {
function _scall_wrapper() {
var args_to_pass = new Array();