#include "local.h" to get __flockfile_internal() prototype.
This commit is contained in:
parent
950d7750f9
commit
a74e50ddaf
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: clrerr.c,v 1.8 1999/09/20 04:39:25 lukem Exp $ */
|
||||
/* $NetBSD: clrerr.c,v 1.9 2003/07/18 21:52:16 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,12 +41,13 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)clrerr.c 8.1 (Berkeley) 6/4/93";
|
||||
#endif
|
||||
__RCSID("$NetBSD: clrerr.c,v 1.8 1999/09/20 04:39:25 lukem Exp $");
|
||||
__RCSID("$NetBSD: clrerr.c,v 1.9 2003/07/18 21:52:16 nathanw Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
#undef clearerr
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: feof.c,v 1.9 1999/09/20 04:39:26 lukem Exp $ */
|
||||
/* $NetBSD: feof.c,v 1.10 2003/07/18 21:52:16 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,13 +41,14 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)feof.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: feof.c,v 1.9 1999/09/20 04:39:26 lukem Exp $");
|
||||
__RCSID("$NetBSD: feof.c,v 1.10 2003/07/18 21:52:16 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
/*
|
||||
* A subroutine version of the macro feof.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ferror.c,v 1.9 1999/09/20 04:39:26 lukem Exp $ */
|
||||
/* $NetBSD: ferror.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,13 +41,14 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)ferror.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: ferror.c,v 1.9 1999/09/20 04:39:26 lukem Exp $");
|
||||
__RCSID("$NetBSD: ferror.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
/*
|
||||
* A subroutine version of the macro ferror.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fgetc.c,v 1.9 1999/09/20 04:39:26 lukem Exp $ */
|
||||
/* $NetBSD: fgetc.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)fgetc.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: fgetc.c,v 1.9 1999/09/20 04:39:26 lukem Exp $");
|
||||
__RCSID("$NetBSD: fgetc.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -49,6 +49,7 @@ __RCSID("$NetBSD: fgetc.c,v 1.9 1999/09/20 04:39:26 lukem Exp $");
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
int
|
||||
fgetc(fp)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fileno.c,v 1.9 1999/09/20 04:39:27 lukem Exp $ */
|
||||
/* $NetBSD: fileno.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)fileno.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: fileno.c,v 1.9 1999/09/20 04:39:27 lukem Exp $");
|
||||
__RCSID("$NetBSD: fileno.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -49,6 +49,7 @@ __RCSID("$NetBSD: fileno.c,v 1.9 1999/09/20 04:39:27 lukem Exp $");
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
/*
|
||||
* A subroutine version of the macro fileno.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fputc.c,v 1.10 1999/09/20 04:39:28 lukem Exp $ */
|
||||
/* $NetBSD: fputc.c,v 1.11 2003/07/18 21:52:17 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)fputc.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: fputc.c,v 1.10 1999/09/20 04:39:28 lukem Exp $");
|
||||
__RCSID("$NetBSD: fputc.c,v 1.11 2003/07/18 21:52:17 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -49,6 +49,7 @@ __RCSID("$NetBSD: fputc.c,v 1.10 1999/09/20 04:39:28 lukem Exp $");
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
int
|
||||
fputc(c, fp)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: getc.c,v 1.9 1999/09/20 04:39:30 lukem Exp $ */
|
||||
/* $NetBSD: getc.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)getc.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: getc.c,v 1.9 1999/09/20 04:39:30 lukem Exp $");
|
||||
__RCSID("$NetBSD: getc.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -49,6 +49,7 @@ __RCSID("$NetBSD: getc.c,v 1.9 1999/09/20 04:39:30 lukem Exp $");
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
/*
|
||||
* A subroutine version of the macro getc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: getchar.c,v 1.7 1998/01/19 07:38:51 jtc Exp $ */
|
||||
/* $NetBSD: getchar.c,v 1.8 2003/07/18 21:52:17 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)getchar.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: getchar.c,v 1.7 1998/01/19 07:38:51 jtc Exp $");
|
||||
__RCSID("$NetBSD: getchar.c,v 1.8 2003/07/18 21:52:17 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -50,6 +50,7 @@ __RCSID("$NetBSD: getchar.c,v 1.7 1998/01/19 07:38:51 jtc Exp $");
|
|||
*/
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
#undef getchar
|
||||
#undef getchar_unlocked
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: gets.c,v 1.13 1999/09/20 04:39:30 lukem Exp $ */
|
||||
/* $NetBSD: gets.c,v 1.14 2003/07/18 21:52:17 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)gets.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: gets.c,v 1.13 1999/09/20 04:39:30 lukem Exp $");
|
||||
__RCSID("$NetBSD: gets.c,v 1.14 2003/07/18 21:52:17 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -49,6 +49,7 @@ __RCSID("$NetBSD: gets.c,v 1.13 1999/09/20 04:39:30 lukem Exp $");
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
__warn_references(gets, "warning: this program uses gets(), which is unsafe.")
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: putc.c,v 1.9 1999/09/20 04:39:31 lukem Exp $ */
|
||||
/* $NetBSD: putc.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)putc.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: putc.c,v 1.9 1999/09/20 04:39:31 lukem Exp $");
|
||||
__RCSID("$NetBSD: putc.c,v 1.10 2003/07/18 21:52:17 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -49,6 +49,7 @@ __RCSID("$NetBSD: putc.c,v 1.9 1999/09/20 04:39:31 lukem Exp $");
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
/*
|
||||
* A subroutine version of the macro putc.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: putchar.c,v 1.7 1998/01/19 07:38:52 jtc Exp $ */
|
||||
/* $NetBSD: putchar.c,v 1.8 2003/07/18 21:52:18 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,12 +41,13 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)putchar.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: putchar.c,v 1.7 1998/01/19 07:38:52 jtc Exp $");
|
||||
__RCSID("$NetBSD: putchar.c,v 1.8 2003/07/18 21:52:18 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
#undef putchar
|
||||
#undef putchar_unlocked
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: puts.c,v 1.10 1999/09/20 04:39:31 lukem Exp $ */
|
||||
/* $NetBSD: puts.c,v 1.11 2003/07/18 21:52:18 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)puts.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: puts.c,v 1.10 1999/09/20 04:39:31 lukem Exp $");
|
||||
__RCSID("$NetBSD: puts.c,v 1.11 2003/07/18 21:52:18 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -51,6 +51,7 @@ __RCSID("$NetBSD: puts.c,v 1.10 1999/09/20 04:39:31 lukem Exp $");
|
|||
#include <string.h>
|
||||
#include "fvwrite.h"
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
/*
|
||||
* Write the given string to stdout, appending a newline.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: putw.c,v 1.9 1999/09/20 04:39:32 lukem Exp $ */
|
||||
/* $NetBSD: putw.c,v 1.10 2003/07/18 21:52:18 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)putw.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: putw.c,v 1.9 1999/09/20 04:39:32 lukem Exp $");
|
||||
__RCSID("$NetBSD: putw.c,v 1.10 2003/07/18 21:52:18 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -50,6 +50,7 @@ __RCSID("$NetBSD: putw.c,v 1.9 1999/09/20 04:39:32 lukem Exp $");
|
|||
#include <stdio.h>
|
||||
#include "fvwrite.h"
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
int
|
||||
putw(w, fp)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rewind.c,v 1.11 2000/01/21 19:54:13 mycroft Exp $ */
|
||||
/* $NetBSD: rewind.c,v 1.12 2003/07/18 21:52:18 nathanw Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)rewind.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: rewind.c,v 1.11 2000/01/21 19:54:13 mycroft Exp $");
|
||||
__RCSID("$NetBSD: rewind.c,v 1.12 2003/07/18 21:52:18 nathanw Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -49,6 +49,7 @@ __RCSID("$NetBSD: rewind.c,v 1.11 2000/01/21 19:54:13 mycroft Exp $");
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "reentrant.h"
|
||||
#include "local.h"
|
||||
|
||||
void
|
||||
rewind(fp)
|
||||
|
|
Loading…
Reference in New Issue