fix dom_init prototype (no args => __P((void)), not empty)
[unix-history] / usr / src / sys / conf / newvers.sh
#!/bin/sh -
#
# Copyright (c) 1984, 1986, 1990 The Regents of the University of California.
# All rights reserved.
#
# %sccs.include.redist.sh%
#
# @(#)newvers.sh 7.5 (Berkeley) %G%
#
if [ ! -r version ]
then
echo 0 > version
fi
touch version
v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date`
( echo "char sccs[] = \"@(#)4.4BSD-Alpha #${v}: ${t} (${u}@${h}:${d})\\n\";" ;
echo "char version[] = \"4.4BSD-Alpha UNIX #${v}: ${t}\\n ${u}@${h}:${d}\\n\";"
) > vers.c
echo `expr ${v} + 1` > version