aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-03-08 20:21:56 +0000
committerdos-reis <gdr@axiomatics.org>2008-03-08 20:21:56 +0000
commit3f7d906f8cd6edd2597a49f629bd31914de8ca08 (patch)
tree4a015d892d777f58f9b88010c76d924227a12cc4
parent6a0809d42bbfb8ae3c00431c69bff92f38e5739c (diff)
downloadopen-axiom-3f7d906f8cd6edd2597a49f629bd31914de8ca08.tar.gz
* include/addfile.h: Move from hyper.
* include/addfile.H1: Move external declarations into addfile.h. Remove.
-rwxr-xr-xconfigure18
-rw-r--r--configure.ac2
-rw-r--r--configure.ac.pamphlet2
-rw-r--r--src/ChangeLog6
-rw-r--r--src/graph/Gdraws/Gfun.c.pamphlet1
-rw-r--r--src/graph/Gdraws/Makefile.in3
-rw-r--r--src/graph/view2D/buttons2d.c.pamphlet1
-rw-r--r--src/graph/view2D/control2d.c.pamphlet1
-rw-r--r--src/graph/view2D/graph2d.c.pamphlet1
-rw-r--r--src/graph/view2D/main2d.c.pamphlet1
-rw-r--r--src/graph/view2D/pot2d.c.pamphlet1
-rw-r--r--src/graph/view2D/process2d.c.pamphlet1
-rw-r--r--src/graph/view2D/spadAction2d.c.pamphlet1
-rw-r--r--src/graph/view2D/stuff2d.c.pamphlet1
-rw-r--r--src/graph/view2D/viewport2D.c.pamphlet1
-rw-r--r--src/graph/view2D/write2d.c.pamphlet1
-rw-r--r--src/graph/view3D/buttons3d.c.pamphlet1
-rw-r--r--src/graph/view3D/closeView3d.c.pamphlet1
-rw-r--r--src/graph/view3D/component3d.c.pamphlet1
-rw-r--r--src/graph/view3D/control3d.c.pamphlet2
-rw-r--r--src/graph/view3D/illuminate3d.c.pamphlet1
-rw-r--r--src/graph/view3D/lightbut3d.c.pamphlet1
-rw-r--r--src/graph/view3D/lighting3d.c.pamphlet1
-rw-r--r--src/graph/view3D/main3d.c.pamphlet2
-rw-r--r--src/graph/view3D/mesh3d.c.pamphlet2
-rw-r--r--src/graph/view3D/msort3d.c.pamphlet2
-rw-r--r--src/graph/view3D/pot3d.c.pamphlet1
-rw-r--r--src/graph/view3D/project3d.c.pamphlet1
-rw-r--r--src/graph/view3D/quit3d.c.pamphlet1
-rw-r--r--src/graph/view3D/quitbut3d.c.pamphlet1
-rw-r--r--src/graph/view3D/save3d.c.pamphlet1
-rw-r--r--src/graph/view3D/savebut3d.c.pamphlet1
-rw-r--r--src/graph/view3D/smoothShade3d.c.pamphlet1
-rw-r--r--src/graph/view3D/spadAction3d.c.pamphlet1
-rw-r--r--src/graph/view3D/stuff3d.c.pamphlet1
-rw-r--r--src/graph/view3D/testcol.c.pamphlet1
-rw-r--r--src/graph/view3D/transform3d.c.pamphlet1
-rw-r--r--src/graph/view3D/viewport3d.c.pamphlet1
-rw-r--r--src/graph/view3D/volume3d.c.pamphlet1
-rw-r--r--src/graph/view3D/write3d.c.pamphlet1
-rw-r--r--src/graph/viewAlone/spoon2D.c.pamphlet1
-rw-r--r--src/graph/viewAlone/spoonComp.c.pamphlet1
-rw-r--r--src/graph/viewAlone/viewAlone.c.pamphlet1
-rw-r--r--src/graph/viewman/cleanup.c.pamphlet1
-rw-r--r--src/graph/viewman/fun2D.c.pamphlet1
-rw-r--r--src/graph/viewman/fun3D.c.pamphlet1
-rw-r--r--src/graph/viewman/make2D.c.pamphlet1
-rw-r--r--src/graph/viewman/readView.c.pamphlet1
-rw-r--r--src/hyper/Makefile.in2
-rw-r--r--src/hyper/addfile.c5
-rw-r--r--src/hyper/htadd.c2
-rw-r--r--src/include/addfile.H110
-rw-r--r--src/include/addfile.h (renamed from src/hyper/addfile.h)15
-rw-r--r--src/include/all_hyper_proto.H11
54 files changed, 40 insertions, 73 deletions
diff --git a/configure b/configure
index 547c9326..2d7cee9c 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for OpenAxiom 1.2.0-2008-03-07.
+# Generated by GNU Autoconf 2.60 for OpenAxiom 1.2.0-2008-03-08.
#
# Report bugs to <open-axiom-bugs@lists.sf.net>.
#
@@ -713,8 +713,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='OpenAxiom'
PACKAGE_TARNAME='openaxiom'
-PACKAGE_VERSION='1.2.0-2008-03-07'
-PACKAGE_STRING='OpenAxiom 1.2.0-2008-03-07'
+PACKAGE_VERSION='1.2.0-2008-03-08'
+PACKAGE_STRING='OpenAxiom 1.2.0-2008-03-08'
PACKAGE_BUGREPORT='open-axiom-bugs@lists.sf.net'
ac_unique_file="src/Makefile.pamphlet"
@@ -1387,7 +1387,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures OpenAxiom 1.2.0-2008-03-07 to adapt to many kinds of systems.
+\`configure' configures OpenAxiom 1.2.0-2008-03-08 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1457,7 +1457,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of OpenAxiom 1.2.0-2008-03-07:";;
+ short | recursive ) echo "Configuration of OpenAxiom 1.2.0-2008-03-08:";;
esac
cat <<\_ACEOF
@@ -1561,7 +1561,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-OpenAxiom configure 1.2.0-2008-03-07
+OpenAxiom configure 1.2.0-2008-03-08
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1575,7 +1575,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by OpenAxiom $as_me 1.2.0-2008-03-07, which was
+It was created by OpenAxiom $as_me 1.2.0-2008-03-08, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -25230,7 +25230,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by OpenAxiom $as_me 1.2.0-2008-03-07, which was
+This file was extended by OpenAxiom $as_me 1.2.0-2008-03-08, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -25279,7 +25279,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-OpenAxiom config.status 1.2.0-2008-03-07
+OpenAxiom config.status 1.2.0-2008-03-08
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/configure.ac b/configure.ac
index 93d6b310..8ea1f874 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.2.0-2008-03-07],
+AC_INIT([OpenAxiom], [1.2.0-2008-03-08],
[open-axiom-bugs@lists.sf.net])
AC_CONFIG_AUX_DIR(config)
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet
index e85bfff8..1a82eb8d 100644
--- a/configure.ac.pamphlet
+++ b/configure.ac.pamphlet
@@ -1022,7 +1022,7 @@ information:
<<Autoconf init>>=
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.2.0-2008-03-07],
+AC_INIT([OpenAxiom], [1.2.0-2008-03-08],
[open-axiom-bugs@lists.sf.net])
@
diff --git a/src/ChangeLog b/src/ChangeLog
index 80a4b9ba..27ff27c0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,11 @@
2008-03-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
+ * include/addfile.h: Move from hyper.
+ * include/addfile.H1: Move external declarations into
+ addfile.h. Remove.
+
+2008-03-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
* include/sockio.h: Rename from sockio-c.H1.
* clef/edible.c: Don't include useproto.h. Include sockio.h
* graph/view3D/surface3d.c.pamphlet: Likewise.
diff --git a/src/graph/Gdraws/Gfun.c.pamphlet b/src/graph/Gdraws/Gfun.c.pamphlet
index 7a42f762..c7ef9d6e 100644
--- a/src/graph/Gdraws/Gfun.c.pamphlet
+++ b/src/graph/Gdraws/Gfun.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _GFUN_C
-#include "useproto.h"
#include <stdio.h>
#include <unistd.h>
diff --git a/src/graph/Gdraws/Makefile.in b/src/graph/Gdraws/Makefile.in
index b098aa70..597116d0 100644
--- a/src/graph/Gdraws/Makefile.in
+++ b/src/graph/Gdraws/Makefile.in
@@ -66,8 +66,7 @@ subdir = src/graph/Gdraws/
pamphlets = Makefile.pamphlet Gfun.c.pamphlet psFiles.pamphlet
HEADERS = ${IN}/Gdraws0.h ${LINC}/G.h ${LINC}/Gfun.H1 \
- ${GINC}/hash.h ${GINC}/hash.H1 ${GINC}/useproto.h \
- $(axiom_c_macros_h)
+ ${GINC}/hash.h ${GINC}/hash.H1 $(axiom_c_macros_h)
PSFiles= ${PS}/colorpoly.ps ${PS}/colorwol.ps ${PS}/draw.ps \
${PS}/drawIstr.ps ${PS}/drawarc.ps ${PS}/drawcolor.ps \
diff --git a/src/graph/view2D/buttons2d.c.pamphlet b/src/graph/view2D/buttons2d.c.pamphlet
index 103ead1f..c0c19185 100644
--- a/src/graph/view2D/buttons2d.c.pamphlet
+++ b/src/graph/view2D/buttons2d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _BUTTONS2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <string.h>
diff --git a/src/graph/view2D/control2d.c.pamphlet b/src/graph/view2D/control2d.c.pamphlet
index e25f61de..c45ba400 100644
--- a/src/graph/view2D/control2d.c.pamphlet
+++ b/src/graph/view2D/control2d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _CONTROL2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/graph/view2D/graph2d.c.pamphlet b/src/graph/view2D/graph2d.c.pamphlet
index 45d4399e..add87b5b 100644
--- a/src/graph/view2D/graph2d.c.pamphlet
+++ b/src/graph/view2D/graph2d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _GRAPH2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdio.h>
#include <unistd.h>
diff --git a/src/graph/view2D/main2d.c.pamphlet b/src/graph/view2D/main2d.c.pamphlet
index 9dae841b..72135f9a 100644
--- a/src/graph/view2D/main2d.c.pamphlet
+++ b/src/graph/view2D/main2d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _MAIN2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <string.h>
#include <stdlib.h>
diff --git a/src/graph/view2D/pot2d.c.pamphlet b/src/graph/view2D/pot2d.c.pamphlet
index 8aef8bf1..af4addb7 100644
--- a/src/graph/view2D/pot2d.c.pamphlet
+++ b/src/graph/view2D/pot2d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _POT2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "header2.h"
diff --git a/src/graph/view2D/process2d.c.pamphlet b/src/graph/view2D/process2d.c.pamphlet
index c8b91811..11c1c34b 100644
--- a/src/graph/view2D/process2d.c.pamphlet
+++ b/src/graph/view2D/process2d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _PROCESS2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <string.h>
#include <stdio.h>
diff --git a/src/graph/view2D/spadAction2d.c.pamphlet b/src/graph/view2D/spadAction2d.c.pamphlet
index 28f3e749..69ed10bb 100644
--- a/src/graph/view2D/spadAction2d.c.pamphlet
+++ b/src/graph/view2D/spadAction2d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _SPADACTION2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/graph/view2D/stuff2d.c.pamphlet b/src/graph/view2D/stuff2d.c.pamphlet
index f4796fa4..d4e3d4ed 100644
--- a/src/graph/view2D/stuff2d.c.pamphlet
+++ b/src/graph/view2D/stuff2d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _STUFF2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <unistd.h>
#include <stdlib.h>
diff --git a/src/graph/view2D/viewport2D.c.pamphlet b/src/graph/view2D/viewport2D.c.pamphlet
index 20273fb9..c1632984 100644
--- a/src/graph/view2D/viewport2D.c.pamphlet
+++ b/src/graph/view2D/viewport2D.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _VIEWPORT2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/graph/view2D/write2d.c.pamphlet b/src/graph/view2D/write2d.c.pamphlet
index 3d91a517..66eafe26 100644
--- a/src/graph/view2D/write2d.c.pamphlet
+++ b/src/graph/view2D/write2d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _WRITE2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/graph/view3D/buttons3d.c.pamphlet b/src/graph/view3D/buttons3d.c.pamphlet
index 9727e581..544892b8 100644
--- a/src/graph/view3D/buttons3d.c.pamphlet
+++ b/src/graph/view3D/buttons3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _BUTTONS3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "header.h"
#include "cpanel.h"
diff --git a/src/graph/view3D/closeView3d.c.pamphlet b/src/graph/view3D/closeView3d.c.pamphlet
index 22ca3fbe..3d66aa26 100644
--- a/src/graph/view3D/closeView3d.c.pamphlet
+++ b/src/graph/view3D/closeView3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _CLOSEVIEW3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdlib.h>
#include "header.h"
diff --git a/src/graph/view3D/component3d.c.pamphlet b/src/graph/view3D/component3d.c.pamphlet
index 3b22805d..258c5589 100644
--- a/src/graph/view3D/component3d.c.pamphlet
+++ b/src/graph/view3D/component3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _COMPONENT3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "header.h"
#include "draw.h"
diff --git a/src/graph/view3D/control3d.c.pamphlet b/src/graph/view3D/control3d.c.pamphlet
index 66148cf6..72e04c44 100644
--- a/src/graph/view3D/control3d.c.pamphlet
+++ b/src/graph/view3D/control3d.c.pamphlet
@@ -49,7 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _CONTROL3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
+
#include <string.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/src/graph/view3D/illuminate3d.c.pamphlet b/src/graph/view3D/illuminate3d.c.pamphlet
index 686ded74..6cc8f908 100644
--- a/src/graph/view3D/illuminate3d.c.pamphlet
+++ b/src/graph/view3D/illuminate3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _ILLUMINATE3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <math.h>
diff --git a/src/graph/view3D/lightbut3d.c.pamphlet b/src/graph/view3D/lightbut3d.c.pamphlet
index 4543927a..f9f7c433 100644
--- a/src/graph/view3D/lightbut3d.c.pamphlet
+++ b/src/graph/view3D/lightbut3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _LIGHTBUT3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "header.h"
#include "cpanel.h"
diff --git a/src/graph/view3D/lighting3d.c.pamphlet b/src/graph/view3D/lighting3d.c.pamphlet
index 0719c4b3..adcd6850 100644
--- a/src/graph/view3D/lighting3d.c.pamphlet
+++ b/src/graph/view3D/lighting3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _LIGHTING3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <math.h>
#include <string.h>
diff --git a/src/graph/view3D/main3d.c.pamphlet b/src/graph/view3D/main3d.c.pamphlet
index 22137d65..01674d58 100644
--- a/src/graph/view3D/main3d.c.pamphlet
+++ b/src/graph/view3D/main3d.c.pamphlet
@@ -49,7 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _MAIN3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
+
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/graph/view3D/mesh3d.c.pamphlet b/src/graph/view3D/mesh3d.c.pamphlet
index be07bfe7..9abe377f 100644
--- a/src/graph/view3D/mesh3d.c.pamphlet
+++ b/src/graph/view3D/mesh3d.c.pamphlet
@@ -49,7 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _MESH3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
+
#include <math.h>
#include "header.h"
diff --git a/src/graph/view3D/msort3d.c.pamphlet b/src/graph/view3D/msort3d.c.pamphlet
index 51f01f02..73202452 100644
--- a/src/graph/view3D/msort3d.c.pamphlet
+++ b/src/graph/view3D/msort3d.c.pamphlet
@@ -49,7 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _MSORT3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
+
/*****************************************************
* Mergesort routine *
diff --git a/src/graph/view3D/pot3d.c.pamphlet b/src/graph/view3D/pot3d.c.pamphlet
index cbf88752..ee8ea1fc 100644
--- a/src/graph/view3D/pot3d.c.pamphlet
+++ b/src/graph/view3D/pot3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _POT3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "header.h"
#include "all_3d.H1"
diff --git a/src/graph/view3D/project3d.c.pamphlet b/src/graph/view3D/project3d.c.pamphlet
index 2ff174b2..1d6ca193 100644
--- a/src/graph/view3D/project3d.c.pamphlet
+++ b/src/graph/view3D/project3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _PROJECT3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <string.h>
#include "header.h"
diff --git a/src/graph/view3D/quit3d.c.pamphlet b/src/graph/view3D/quit3d.c.pamphlet
index ffc1c726..072e45ee 100644
--- a/src/graph/view3D/quit3d.c.pamphlet
+++ b/src/graph/view3D/quit3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _QUIT3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <string.h>
#include "header.h"
diff --git a/src/graph/view3D/quitbut3d.c.pamphlet b/src/graph/view3D/quitbut3d.c.pamphlet
index 49957982..befa1957 100644
--- a/src/graph/view3D/quitbut3d.c.pamphlet
+++ b/src/graph/view3D/quitbut3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _QUITBUT3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "header.h"
#include "cpanel.h"
diff --git a/src/graph/view3D/save3d.c.pamphlet b/src/graph/view3D/save3d.c.pamphlet
index 8386b418..432c64ad 100644
--- a/src/graph/view3D/save3d.c.pamphlet
+++ b/src/graph/view3D/save3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _SAVE3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdio.h>
#include <string.h>
diff --git a/src/graph/view3D/savebut3d.c.pamphlet b/src/graph/view3D/savebut3d.c.pamphlet
index 82382e5f..97645c3f 100644
--- a/src/graph/view3D/savebut3d.c.pamphlet
+++ b/src/graph/view3D/savebut3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _SAVEBUT3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "header.h"
#include "cpanel.h"
diff --git a/src/graph/view3D/smoothShade3d.c.pamphlet b/src/graph/view3D/smoothShade3d.c.pamphlet
index 03a99c4f..1d5f7986 100644
--- a/src/graph/view3D/smoothShade3d.c.pamphlet
+++ b/src/graph/view3D/smoothShade3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _SMOOTHSHADE_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <string.h>
#include <math.h>
diff --git a/src/graph/view3D/spadAction3d.c.pamphlet b/src/graph/view3D/spadAction3d.c.pamphlet
index da8d1916..6f451bbf 100644
--- a/src/graph/view3D/spadAction3d.c.pamphlet
+++ b/src/graph/view3D/spadAction3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _SPADACTION3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <unistd.h>
#include <stdio.h>
diff --git a/src/graph/view3D/stuff3d.c.pamphlet b/src/graph/view3D/stuff3d.c.pamphlet
index f9ae2ff6..034f853d 100644
--- a/src/graph/view3D/stuff3d.c.pamphlet
+++ b/src/graph/view3D/stuff3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _STUFF3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "header.h"
diff --git a/src/graph/view3D/testcol.c.pamphlet b/src/graph/view3D/testcol.c.pamphlet
index 64e8ab4b..a9f6aa3f 100644
--- a/src/graph/view3D/testcol.c.pamphlet
+++ b/src/graph/view3D/testcol.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _MAIN3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/graph/view3D/transform3d.c.pamphlet b/src/graph/view3D/transform3d.c.pamphlet
index 77da7555..6061e70e 100644
--- a/src/graph/view3D/transform3d.c.pamphlet
+++ b/src/graph/view3D/transform3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _TRANSFORM3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "header.h"
diff --git a/src/graph/view3D/viewport3d.c.pamphlet b/src/graph/view3D/viewport3d.c.pamphlet
index cb69dd3c..86869041 100644
--- a/src/graph/view3D/viewport3d.c.pamphlet
+++ b/src/graph/view3D/viewport3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _VIEWPORT3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <math.h>
#include <stdio.h>
diff --git a/src/graph/view3D/volume3d.c.pamphlet b/src/graph/view3D/volume3d.c.pamphlet
index aef688cb..c3603972 100644
--- a/src/graph/view3D/volume3d.c.pamphlet
+++ b/src/graph/view3D/volume3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _VOLUME3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <math.h>
#include <string.h>
diff --git a/src/graph/view3D/write3d.c.pamphlet b/src/graph/view3D/write3d.c.pamphlet
index d332473d..106bad7c 100644
--- a/src/graph/view3D/write3d.c.pamphlet
+++ b/src/graph/view3D/write3d.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _WRITE3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/graph/viewAlone/spoon2D.c.pamphlet b/src/graph/viewAlone/spoon2D.c.pamphlet
index f8a1b185..b06da50f 100644
--- a/src/graph/viewAlone/spoon2D.c.pamphlet
+++ b/src/graph/viewAlone/spoon2D.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _SPOON2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <unistd.h>
#include <stdlib.h>
diff --git a/src/graph/viewAlone/spoonComp.c.pamphlet b/src/graph/viewAlone/spoonComp.c.pamphlet
index b4316e95..d0b72ed5 100644
--- a/src/graph/viewAlone/spoonComp.c.pamphlet
+++ b/src/graph/viewAlone/spoonComp.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _SPOONCOMP_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/graph/viewAlone/viewAlone.c.pamphlet b/src/graph/viewAlone/viewAlone.c.pamphlet
index 02c294a0..5d178583 100644
--- a/src/graph/viewAlone/viewAlone.c.pamphlet
+++ b/src/graph/viewAlone/viewAlone.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _VIEWALONE_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdlib.h>
#include "viewAlone.h"
diff --git a/src/graph/viewman/cleanup.c.pamphlet b/src/graph/viewman/cleanup.c.pamphlet
index 7400e79a..24103128 100644
--- a/src/graph/viewman/cleanup.c.pamphlet
+++ b/src/graph/viewman/cleanup.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _CLEANUP_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/graph/viewman/fun2D.c.pamphlet b/src/graph/viewman/fun2D.c.pamphlet
index 576e2696..6cc08f47 100644
--- a/src/graph/viewman/fun2D.c.pamphlet
+++ b/src/graph/viewman/fun2D.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _FUN2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/graph/viewman/fun3D.c.pamphlet b/src/graph/viewman/fun3D.c.pamphlet
index c8005182..f840fb0b 100644
--- a/src/graph/viewman/fun3D.c.pamphlet
+++ b/src/graph/viewman/fun3D.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _FUN3D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/graph/viewman/make2D.c.pamphlet b/src/graph/viewman/make2D.c.pamphlet
index 35069f4c..0f4a3e3e 100644
--- a/src/graph/viewman/make2D.c.pamphlet
+++ b/src/graph/viewman/make2D.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _MAKE2D_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include "viewman.h"
diff --git a/src/graph/viewman/readView.c.pamphlet b/src/graph/viewman/readView.c.pamphlet
index cccc323d..36614400 100644
--- a/src/graph/viewman/readView.c.pamphlet
+++ b/src/graph/viewman/readView.c.pamphlet
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define _READVIEW_C
#include "axiom-c-macros.h"
-#include "useproto.h"
#include <unistd.h>
#include <stdio.h>
diff --git a/src/hyper/Makefile.in b/src/hyper/Makefile.in
index f3896a99..7f976173 100644
--- a/src/hyper/Makefile.in
+++ b/src/hyper/Makefile.in
@@ -53,7 +53,7 @@ SCRIPTS=${OUTLIB}/htsearch ${OUTLIB}/presea
BINFILES= $(addprefix $(OUTLIB)/,$(bin_PROGRAMS))
-HEADERS = addfile.h display.h event.h extent.h \
+HEADERS = display.h event.h extent.h \
group.h hterror.h hyper.h initx.h keyin.h lex.h \
parse.h parse-paste.h parse-types.h scrollbar.h \
titlebar.h token.h $(axiom_c_macros_h)
diff --git a/src/hyper/addfile.c b/src/hyper/addfile.c
index 2eef5664..b1b97d49 100644
--- a/src/hyper/addfile.c
+++ b/src/hyper/addfile.c
@@ -38,6 +38,7 @@
#include "debug.h"
#include "sockio.h"
+#include "addfile.h"
#include "hyper.h"
#include "addfile.h"
@@ -46,6 +47,10 @@
#include "all_hyper_proto.H1"
+static int build_ht_filename(char*, char*, char*);
+static int pathname(char*);
+static int strpostfix(char*, char*);
+
char *gDatabasePath = NULL;
diff --git a/src/hyper/htadd.c b/src/hyper/htadd.c
index 36595751..edc2add4 100644
--- a/src/hyper/htadd.c
+++ b/src/hyper/htadd.c
@@ -48,7 +48,7 @@
#include "lex.h"
#include "htadd.H1"
-#include "addfile.H1"
+#include "addfile.h"
#include "halloc.H1"
#include "hash.H1"
#include "hterror.H1"
diff --git a/src/include/addfile.H1 b/src/include/addfile.H1
deleted file mode 100644
index 323a3c62..00000000
--- a/src/include/addfile.H1
+++ /dev/null
@@ -1,10 +0,0 @@
-extern FILE * db_file_open(char * db_file);
-extern void extend_ht(char * name);
-extern FILE * ht_file_open(char * fname , char * aname , char * name);
-extern FILE * temp_file_open(char * temp_db_file);
-#ifdef _ADDFILE_C
-static int build_ht_filename(char * fname , char * aname , char * name);
-static int pathname(char * name);
-static int strpostfix(char * s , char * t);
-#endif
-
diff --git a/src/hyper/addfile.h b/src/include/addfile.h
index fd6a14e0..56dabe0b 100644
--- a/src/hyper/addfile.h
+++ b/src/include/addfile.h
@@ -33,9 +33,16 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _ADDFILE_H_
-#define _ADDFILE_H_ 1
+#ifndef OPENAXIOM_ADDFILE_included
+#define OPENAXIOM_ADDFILE_included
-extern char *gDatabasePath;
+#include <stdio.h>
-#endif
+extern FILE* db_file_open(char*);
+extern void extend_ht(char*);
+extern FILE* ht_file_open(char*, char*, char*);
+extern FILE* temp_file_open(char*);
+
+extern char* gDatabasePath;
+
+#endif /* OPENAXIOM_ADDFILE_included */
diff --git a/src/include/all_hyper_proto.H1 b/src/include/all_hyper_proto.H1
index 343703bd..320e1eb1 100644
--- a/src/include/all_hyper_proto.H1
+++ b/src/include/all_hyper_proto.H1
@@ -1,4 +1,3 @@
-#include "addfile.H1"
#include "ReadBitmap.H1"
#include "dialog.H1"
#include "cond.H1"