diff options
author | millert <> | 2003-06-03 01:52:40 +0000 |
---|---|---|
committer | millert <> | 2003-06-03 01:52:40 +0000 |
commit | 69d7edf2eca5a74bd88f4a6f7df9eb0e51ddf54f (patch) | |
tree | adda3dd194b231e92533e90ef8cbab3517e7bb7d /src/lib/libc/stdlib/gcvt.c | |
parent | 021d32a253720a2fcdb07690f59c7e08d1d661e6 (diff) | |
download | openbsd-69d7edf2eca5a74bd88f4a6f7df9eb0e51ddf54f.tar.gz openbsd-69d7edf2eca5a74bd88f4a6f7df9eb0e51ddf54f.tar.bz2 openbsd-69d7edf2eca5a74bd88f4a6f7df9eb0e51ddf54f.zip |
Use an ISC-tyle license for all my code; it is simpler and more permissive.
Diffstat (limited to 'src/lib/libc/stdlib/gcvt.c')
-rw-r--r-- | src/lib/libc/stdlib/gcvt.c | 35 |
1 files changed, 12 insertions, 23 deletions
diff --git a/src/lib/libc/stdlib/gcvt.c b/src/lib/libc/stdlib/gcvt.c index 240c4db5b0..c4492b43ff 100644 --- a/src/lib/libc/stdlib/gcvt.c +++ b/src/lib/libc/stdlib/gcvt.c | |||
@@ -1,34 +1,23 @@ | |||
1 | /* $OpenBSD: gcvt.c,v 1.3 2003/05/09 20:01:43 millert Exp $ */ | 1 | /* $OpenBSD: gcvt.c,v 1.4 2003/06/03 01:52:40 millert Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com> | 4 | * Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com> |
5 | * All rights reserved. | ||
6 | * | 5 | * |
7 | * Redistribution and use in source and binary forms, with or without | 6 | * Permission to use, copy, modify, and distribute this software for any |
8 | * modification, are permitted provided that the following conditions | 7 | * purpose with or without fee is hereby granted, provided that the above |
9 | * are met: | 8 | * copyright notice and this permission notice appear in all copies. |
10 | * 1. Redistributions of source code must retain the above copyright | ||
11 | * notice, this list of conditions and the following disclaimer. | ||
12 | * 2. Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the distribution. | ||
15 | * 3. The name of the author may not be used to endorse or promote products | ||
16 | * derived from this software without specific prior written permission. | ||
17 | * | 9 | * |
18 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, | 10 | * THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL |
19 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY | 11 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES |
20 | * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL | 12 | * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE |
21 | * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 13 | * FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
22 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 14 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION |
23 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | 15 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
24 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | 16 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
26 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
27 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
28 | */ | 17 | */ |
29 | 18 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 19 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char rcsid[] = "$OpenBSD: gcvt.c,v 1.3 2003/05/09 20:01:43 millert Exp $"; | 20 | static char rcsid[] = "$OpenBSD: gcvt.c,v 1.4 2003/06/03 01:52:40 millert Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 21 | #endif /* LIBC_SCCS and not lint */ |
33 | 22 | ||
34 | #include <stdio.h> | 23 | #include <stdio.h> |