diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-09-16 01:02:46 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-09-16 01:02:46 +0000 |
commit | db3dca6dbd32fe6ea3d51bc037e6f9cdc66c343b (patch) | |
tree | 29d590ca0bc9e66d81bc3218a0684c2daf9d4a68 /net-mgmt/scotty3/files/scotty.c | |
parent | Fix compilation problems. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_4_0'.release/4.4.0
Notes
Notes:
svn path=/head/; revision=47856
svn path=/tags/RELEASE_4_4_0/; revision=47857; tag=release/4.4.0
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); -} |