summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1998-02-08 22:45:16 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1998-02-08 22:45:16 +0000
commitf9d3835e37ef52edc81ab34243babdcdc2369783 (patch)
treeb623759dce13c9f84a8afe3391c0d34b0efc19a2 /lib/libc/arch
parent30bff7e6175caea2b7ec7f5d43283b9c30df57ea (diff)
Better lint(1) framework. Mostly from cgd@NetBSD
Diffstat (limited to 'lib/libc/arch')
-rw-r--r--lib/libc/arch/alpha/protolib.h46
-rw-r--r--lib/libc/arch/i386/protolib.h58
-rw-r--r--lib/libc/arch/m68k/protolib.h57
-rw-r--r--lib/libc/arch/mips/protolib.h47
-rw-r--r--lib/libc/arch/ns32k/protolib.h51
-rw-r--r--lib/libc/arch/sparc/protolib.h48
-rw-r--r--lib/libc/arch/vax/protolib.h50
7 files changed, 0 insertions, 357 deletions
diff --git a/lib/libc/arch/alpha/protolib.h b/lib/libc/arch/alpha/protolib.h
deleted file mode 100644
index 3e70b648f5d..00000000000
--- a/lib/libc/arch/alpha/protolib.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/* $OpenBSD: protolib.h,v 1.2 1996/11/13 20:47:49 niklas Exp $ */
-
-/*
- * Copyright (c) 1995 Jochen Pohl
- * 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.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Jochen Pohl for
- * The NetBSD project.
- * 4. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
- */
-
-#include <math.h>
-#include <setjmp.h>
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-double fabs(double);
-void longjmp(jmp_buf, int);
-void _longjmp(jmp_buf, int);
-int setjmp(jmp_buf);
-int _setjmp(jmp_buf);
-void siglongjmp(sigjmp_buf, int);
-int sigsetjmp(sigjmp_buf, int);
diff --git a/lib/libc/arch/i386/protolib.h b/lib/libc/arch/i386/protolib.h
deleted file mode 100644
index 0eed605f6d6..00000000000
--- a/lib/libc/arch/i386/protolib.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 1995 Jochen Pohl
- * 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.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Jochen Pohl for
- * The NetBSD project.
- * 4. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
- *
- * $OpenBSD: protolib.h,v 1.2 1996/09/15 10:09:08 tholo Exp $
- */
-
-#include <float.h>
-#include <ieeefp.h>
-#include <math.h>
-#include <setjmp.h>
-#include <stdlib.h>
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-void *alloca(size_t);
-int exect(const char *, char * const [], char * const []);
-double fabs(double);
-int __flt_rounds(void);
-fp_except fpgetmask(void);
-fp_rnd fpgetround(void);
-fp_except fpgetsticky(void);
-fp_except fpsetmask(fp_except);
-fp_rnd fpsetround(fp_rnd);
-void _longjmp(jmp_buf, int);
-void longjmp(jmp_buf, int);
-double modf(double, double *);
-int _setjmp(jmp_buf);
-int setjmp(jmp_buf);
-void siglongjmp(sigjmp_buf, int);
-int sigsetjmp(sigjmp_buf, int);
diff --git a/lib/libc/arch/m68k/protolib.h b/lib/libc/arch/m68k/protolib.h
deleted file mode 100644
index 18305bd8890..00000000000
--- a/lib/libc/arch/m68k/protolib.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 1995 Jochen Pohl
- * 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.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Jochen Pohl for
- * The NetBSD project.
- * 4. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
- *
- * $OpenBSD: protolib.h,v 1.1 1996/03/25 23:31:24 tholo Exp $
- */
-
-#include <float.h>
-#include <ieeefp.h>
-#include <math.h>
-#include <setjmp.h>
-#include <stdlib.h>
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-void *alloca(size_t);
-double fabs(double);
-int __flt_rounds(void);
-fp_except fpgetmask(void);
-fp_rnd fpgetround(void);
-fp_except fpgetsticky(void);
-fp_except fpsetmask(fp_except);
-fp_rnd fpsetround(fp_rnd);
-void _longjmp(jmp_buf, int);
-void longjmp(jmp_buf, int);
-double modf(double, double *);
-int _setjmp(jmp_buf);
-int setjmp(jmp_buf);
-void siglongjmp(sigjmp_buf, int);
-int sigsetjmp(sigjmp_buf, int);
diff --git a/lib/libc/arch/mips/protolib.h b/lib/libc/arch/mips/protolib.h
deleted file mode 100644
index d14f39dfca6..00000000000
--- a/lib/libc/arch/mips/protolib.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 1995 Jochen Pohl
- * 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.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Jochen Pohl for
- * The NetBSD project.
- * 4. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
- *
- * $OpenBSD: protolib.h,v 1.1 1996/03/25 23:31:28 tholo Exp $
- */
-
-#include <math.h>
-#include <setjmp.h>
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-double fabs(double);
-int isinf(double);
-double ldexp(double, int);
-void longjmp(jmp_buf, int);
-void _longjmp(jmp_buf, int);
-double modf(double, double *);
-int setjmp(jmp_buf);
-int _setjmp(jmp_buf);
diff --git a/lib/libc/arch/ns32k/protolib.h b/lib/libc/arch/ns32k/protolib.h
deleted file mode 100644
index b0424e71eb4..00000000000
--- a/lib/libc/arch/ns32k/protolib.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 1995 Jochen Pohl
- * 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.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Jochen Pohl for
- * The NetBSD project.
- * 4. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
- *
- * $OpenBSD: protolib.h,v 1.1 1996/03/25 23:31:32 tholo Exp $
- */
-
-#include <math.h>
-#include <setjmp.h>
-#include <stdlib.h>
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-void *alloca(size_t);
-double fabs(double);
-double frexp(double, int *);
-double ldexp(double, int);
-void longjmp(jmp_buf, int);
-void _longjmp(jmp_buf, int);
-double modf(double, double *);
-int setjmp(jmp_buf);
-int _setjmp(jmp_buf);
-void siglongjmp(sigjmp_buf, int);
-int sigsetjmp(sigjmp_buf, int);
diff --git a/lib/libc/arch/sparc/protolib.h b/lib/libc/arch/sparc/protolib.h
deleted file mode 100644
index 62c87e353aa..00000000000
--- a/lib/libc/arch/sparc/protolib.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 1995 Jochen Pohl
- * 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.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Jochen Pohl for
- * The NetBSD project.
- * 4. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
- *
- * $OpenBSD: protolib.h,v 1.1 1996/03/25 23:31:36 tholo Exp $
- */
-
-#include <math.h>
-#include <setjmp.h>
-#include <stdlib.h>
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-double fabs(double);
-void longjmp(jmp_buf, int);
-void _longjmp(jmp_buf, int);
-double modf(double, double *);
-int setjmp(jmp_buf);
-int _setjmp(jmp_buf);
-void siglongjmp(sigjmp_buf, int);
-int sigsetjmp(sigjmp_buf, int);
diff --git a/lib/libc/arch/vax/protolib.h b/lib/libc/arch/vax/protolib.h
deleted file mode 100644
index c0fde949493..00000000000
--- a/lib/libc/arch/vax/protolib.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 1995 Jochen Pohl
- * 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.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Jochen Pohl for
- * The NetBSD project.
- * 4. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
- *
- * $OpenBSD: protolib.h,v 1.1 1996/03/25 23:31:40 tholo Exp $
- */
-
-#include <math.h>
-#include <setjmp.h>
-#include <stdlib.h>
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-void *alloca(size_t);
-double fabs(double);
-void longjmp(jmp_buf, int);
-void _longjmp(jmp_buf, int);
-double ldexp(double, int);
-double modf(double, double *);
-int setjmp(jmp_buf);
-int _setjmp(jmp_buf);
-void siglongjmp(sigjmp_buf, int);
-int sigsetjmp(sigjmp_buf, int);