#!/bin/sh
# change names in tclHash.c to avoid namespace conflicts
#
# Copyright (C)1996 Jacques H. de Villiers <Jacques@deVilliers.com>
# Copyright (C)1996 Center for Spoken Language Understanding,
#                   Oregon Graduate Institute of Science and Technology
#
# See the file "license.ogi" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# $Source: /usr/speech/CSLUrep2/src/csluc/hash/conv,v $
# $Revision: 1.3 $
# $Date: 1997/12/05 03:12:09 $
# $State: Exp $
# $Locker:  $
# --------------------------------------------------------------------------

tmpfile=/tmp/conv.$$
trap "rm -f $tmpfile" 0 1 2 3 15
cat >$tmpfile <<__S\ED__
s@Tcl_@H_@g
s@ckalloc(@dbmalloc(@g
s@ckfree(@dbfree(@g
s@TCL_@H_@g
s@#include "tclInt.h"@#include "hash.h"@g
s@_ANSI_ARGS_@AARG@g
s@ClientData@GSData@g
__SED__

sed -f $tmpfile $1 >$2
