diff --git a/lib/lwres/include/lwres/Makefile.in b/lib/lwres/include/lwres/Makefile.in index 7ffe202374..ec4322fc5b 100644 --- a/lib/lwres/include/lwres/Makefile.in +++ b/lib/lwres/include/lwres/Makefile.in @@ -13,7 +13,7 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.19 2001/07/31 01:32:45 gson Exp $ +# $Id: Makefile.in,v 1.20 2001/10/23 18:45:52 gson Exp $ srcdir = @srcdir@ VPATH = @srcdir@ @@ -25,7 +25,7 @@ top_srcdir = @top_srcdir@ # install target below. # HEADERS = context.h lwbuffer.h lwpacket.h lwres.h result.h \ - int.h lang.h list.h ipv6.h + int.h lang.h list.h ipv6.h version.h SUBDIRS = TARGETS = diff --git a/lib/lwres/include/lwres/version.h b/lib/lwres/include/lwres/version.h new file mode 100644 index 0000000000..d6c0329360 --- /dev/null +++ b/lib/lwres/include/lwres/version.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2001 Internet Software Consortium. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM + * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL + * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, + * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING + * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION + * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* $Id: version.h,v 1.1 2001/10/23 18:45:52 gson Exp $ */ + +extern const char lwres_version[]; + +extern const unsigned int lwres_libinterface; +extern const unsigned int lwres_librevision; +extern const unsigned int lwres_libage; diff --git a/lib/lwres/version.c b/lib/lwres/version.c index b2dde90b2c..853cf6d6f3 100644 --- a/lib/lwres/version.c +++ b/lib/lwres/version.c @@ -15,10 +15,12 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: version.c,v 1.6 2001/01/09 21:59:35 bwelling Exp $ */ +/* $Id: version.c,v 1.7 2001/10/23 18:45:50 gson Exp $ */ -char lwres_version[] = VERSION; +#include -unsigned int lwres_libinterface = LIBINTERFACE; -unsigned int lwres_librevision = LIBREVISION; -unsigned int lwres_libage = LIBAGE; +const char lwres_version[] = VERSION; + +const unsigned int lwres_libinterface = LIBINTERFACE; +const unsigned int lwres_librevision = LIBREVISION; +const unsigned int lwres_libage = LIBAGE; diff --git a/lib/lwres/win32/version.c b/lib/lwres/win32/version.c index cb5b62a238..58509a26c9 100644 --- a/lib/lwres/win32/version.c +++ b/lib/lwres/win32/version.c @@ -15,12 +15,14 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: version.c,v 1.1 2001/07/18 02:37:14 mayer Exp $ */ +/* $Id: version.c,v 1.2 2001/10/23 18:45:53 gson Exp $ */ #include -char lwres_version[] = VERSION; +#include -unsigned int lwres_libinterface = LIBINTERFACE; -unsigned int lwres_librevision = LIBREVISION; -unsigned int lwres_libage = LIBAGE; +const char lwres_version[] = VERSION; + +const unsigned int lwres_libinterface = LIBINTERFACE; +const unsigned int lwres_librevision = LIBREVISION; +const unsigned int lwres_libage = LIBAGE; diff --git a/util/copyrights b/util/copyrights index d7f8740953..52d9af63fe 100644 --- a/util/copyrights +++ b/util/copyrights @@ -2168,6 +2168,7 @@ ./lib/lwres/unix/include/lwres/.cvsignore X 2001 ./lib/lwres/unix/include/lwres/Makefile.in MAKE 2001 ./lib/lwres/unix/include/lwres/net.h C 2000,2001 +./lib/lwres/include/lwres/version.h C 2001 ./lib/lwres/version.c C 2000,2001 ./lib/lwres/win32/.cvsignore X 2001 ./lib/lwres/win32/DLLMain.c C 2001