diff options
Diffstat (limited to 'jim-clock.c')
-rw-r--r-- | jim-clock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jim-clock.c b/jim-clock.c index 46f1d39..a5b8d07 100644 --- a/jim-clock.c +++ b/jim-clock.c @@ -107,6 +107,9 @@ static const jim_subcmd_type clock_command_table[] = { int Jim_clockInit(Jim_Interp *interp) { + if (Jim_PackageProvide(interp, "clock", "1.0", JIM_ERRMSG)) + return JIM_ERR; + Jim_CreateCommand(interp, "clock", Jim_SubCmdProc, (void *)clock_command_table, NULL); return JIM_OK; } |