diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
commit | 01a9f79f0a3692d8148990805beabc8593d3596d (patch) | |
tree | 99d1ef5788fc9e55b6948a7d4951ac4a315f63bf /net-mgmt/scotty3/files/scotty.c | |
parent | 8c307777eaf81af4195ae428b3ebbeba734fc5af (diff) |
Notes
Diffstat (limited to 'net-mgmt/scotty3/files/scotty.c')
-rw-r--r-- | net-mgmt/scotty3/files/scotty.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net-mgmt/scotty3/files/scotty.c b/net-mgmt/scotty3/files/scotty.c deleted file mode 100644 index 375cd2a7529e..000000000000 --- a/net-mgmt/scotty3/files/scotty.c +++ /dev/null @@ -1,27 +0,0 @@ -/* All that's needed for bin/scotty, really... -mi */ - -#include "tnmInt.h" - -static int -Tcl_AppInit(interp) - Tcl_Interp *interp; -{ - if (Tcl_Init(interp) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_PkgRequire(interp, "Tnm", TNM_VERSION, 1) == NULL) { - return TCL_ERROR; - } - - Tcl_SetVar(interp, "tcl_rcFileName", "~/.tclshrc", TCL_GLOBAL_ONLY); - return TCL_OK; -} - -int -main(argc, argv) - int argc; - char **argv; -{ - Tcl_Main(argc, argv, Tcl_AppInit); -} |