summaryrefslogtreecommitdiffstats
path: root/unix/dltest/pkgf.c
diff options
context:
space:
mode:
authordas <das>2007-08-14 06:32:55 (GMT)
committerdas <das>2007-08-14 06:32:55 (GMT)
commit1d3c3ca5bc5a27b8810c6653a5cdafd895a64c0b (patch)
tree85b24d056d0a9723d0d81dde23cd24241372e6b9 /unix/dltest/pkgf.c
parenta789ab33c1944041459d117c719d57c44582b717 (diff)
downloadtcl-1d3c3ca5bc5a27b8810c6653a5cdafd895a64c0b.zip
tcl-1d3c3ca5bc5a27b8810c6653a5cdafd895a64c0b.tar.gz
tcl-1d3c3ca5bc5a27b8810c6653a5cdafd895a64c0b.tar.bz2
* unix/dltest/pkga.c: whitespace & comment cleanup, remove
* unix/dltest/pkgb.c: unused pkgf.c. * unix/dltest/pkgc.c: * unix/dltest/pkge.c: * unix/dltest/pkgf.c (removed): * unix/dltest/pkgua.c: * macosx/Tcl.xcodeproj/project.pbxproj:
Diffstat (limited to 'unix/dltest/pkgf.c')
-rw-r--r--unix/dltest/pkgf.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/unix/dltest/pkgf.c b/unix/dltest/pkgf.c
deleted file mode 100644
index c32aaf0..0000000
--- a/unix/dltest/pkgf.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * pkgf.c --
- *
- * This file contains a simple Tcl package "pkgf" that is intended for
- * testing the Tcl dynamic loading facilities. Its Init procedure returns
- * an error in order to test how this is handled.
- *
- * Copyright (c) 1995 Sun Microsystems, Inc.
- *
- * See the file "license.terms" for information on usage and redistribution of
- * this file, and for a DISCLAIMER OF ALL WARRANTIES.
- *
- * RCS: @(#) $Id: pkgf.c,v 1.7 2007/05/29 14:05:53 dgp Exp $
- */
-
-#include "tcl.h"
-
-
-/*
- *----------------------------------------------------------------------
- *
- * Pkgf_Init --
- *
- * This is a package initialization procedure, which is called by Tcl
- * when this package is to be added to an interpreter.
- *
- * Results:
- * Returns TCL_ERROR and leaves an error message in interp->result.
- *
- * Side effects:
- * None.
- *
- *----------------------------------------------------------------------
- */
-
-int
-Pkgf_Init(
- Tcl_Interp *interp) /* Interpreter in which the package is to be
- * made available. */
-{
- static char script[] = "if 44 {open non_existent}";
- if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL) {
- return TCL_ERROR;
- }
- return Tcl_Eval(interp, script);
-}