diff options
author | antirez <antirez> | 2005-02-27 17:06:16 +0000 |
---|---|---|
committer | antirez <antirez> | 2005-02-27 17:06:16 +0000 |
commit | 188b257855973b53b68cc814141cf4ed6f709a00 (patch) | |
tree | 71e4ba6073cd14e006a95be3d6de4af2322937b2 /jim-posix.c | |
parent | ba67c1dc4e964e555617f05d4acc0ee77f4ff7fc (diff) | |
download | jimtcl-188b257855973b53b68cc814141cf4ed6f709a00.zip jimtcl-188b257855973b53b68cc814141cf4ed6f709a00.tar.gz jimtcl-188b257855973b53b68cc814141cf4ed6f709a00.tar.bz2 |
aritymin/aritymax information no longer used for C-coded commands.
API changed accordingly.
Diffstat (limited to 'jim-posix.c')
-rw-r--r-- | jim-posix.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jim-posix.c b/jim-posix.c index 5466101..ed172f0 100644 --- a/jim-posix.c +++ b/jim-posix.c @@ -103,10 +103,10 @@ static int Jim_PosixSethostnameCommand(Jim_Interp *interp, int argc, int Jim_OnLoad(Jim_Interp *interp) { Jim_InitExtension(interp, "1.0"); - Jim_CreateCommand(interp, "os.fork", Jim_PosixForkCommand, 1, 1, NULL); - Jim_CreateCommand(interp, "os.sleep", Jim_PosixSleepCommand, 2, 2, NULL); - Jim_CreateCommand(interp, "os.getids", Jim_PosixGetidsCommand, 1, 2, NULL); - Jim_CreateCommand(interp, "os.gethostname", Jim_PosixGethostnameCommand, 1, 1, NULL); - Jim_CreateCommand(interp, "os.sethostname", Jim_PosixSethostnameCommand, 2, 2, NULL); + Jim_CreateCommand(interp, "os.fork", Jim_PosixForkCommand, NULL); + Jim_CreateCommand(interp, "os.sleep", Jim_PosixSleepCommand, NULL); + Jim_CreateCommand(interp, "os.getids", Jim_PosixGetidsCommand, NULL); + Jim_CreateCommand(interp, "os.gethostname", Jim_PosixGethostnameCommand, NULL); + Jim_CreateCommand(interp, "os.sethostname", Jim_PosixSethostnameCommand, NULL); return JIM_OK; } |