diff options
author | obrien <obrien@FreeBSD.org> | 2004-02-19 20:02:38 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-02-19 20:02:38 +0000 |
commit | 6dde82a036afb3d1a6e012f2f8273b401c8b47d1 (patch) | |
tree | 0ba151a18ff3ebb2d219019b2ef5badc1d183807 /gnu/lib/libregex/gnuregex.h | |
parent | 35bd1c71deacb1f120995855a399a996636bda9a (diff) | |
download | FreeBSD-src-6dde82a036afb3d1a6e012f2f8273b401c8b47d1.zip FreeBSD-src-6dde82a036afb3d1a6e012f2f8273b401c8b47d1.tar.gz |
Allow to compile with non-GCC compiler.
Diffstat (limited to 'gnu/lib/libregex/gnuregex.h')
-rw-r--r-- | gnu/lib/libregex/gnuregex.h | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/gnu/lib/libregex/gnuregex.h b/gnu/lib/libregex/gnuregex.h index 4d7246a..015cb6d 100644 --- a/gnu/lib/libregex/gnuregex.h +++ b/gnu/lib/libregex/gnuregex.h @@ -1,3 +1,33 @@ -/* $FreeBSD$ */ +/*- + * Copyright (c) 2004 David E. O'Brien + * Copyright (c) 2004 Andrey A. Chernov + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifdef __GNUC__ #warning "<gnuregex.h> has been replaced by <gnu/regex.h>" +#endif #include <gnu/regex.h> |