From 6d57a1a176004a7d8fc009cdcf760098f86e3263 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 16 Feb 2002 21:28:12 +0000 Subject: Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. --- lib/libc/stdio/local.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'lib/libc/stdio/local.h') diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h index 53af82defae..8efe61030ef 100644 --- a/lib/libc/stdio/local.h +++ b/lib/libc/stdio/local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: local.h,v 1.2 1996/08/19 08:32:54 tholo Exp $ */ +/* $OpenBSD: local.h,v 1.3 2002/02/16 21:27:24 millert Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,21 +41,21 @@ * in particular, macros and private variables. */ -int __sflush __P((FILE *)); -FILE *__sfp __P((void)); -int __srefill __P((FILE *)); -int __sread __P((void *, char *, int)); -int __swrite __P((void *, char const *, int)); -fpos_t __sseek __P((void *, fpos_t, int)); -int __sclose __P((void *)); -void __sinit __P((void)); -void _cleanup __P((void)); -void (*__cleanup) __P((void)); -void __smakebuf __P((FILE *)); -int __swhatbuf __P((FILE *, size_t *, int *)); +int __sflush(FILE *); +FILE *__sfp(void); +int __srefill(FILE *); +int __sread(void *, char *, int); +int __swrite(void *, char const *, int); +fpos_t __sseek(void *, fpos_t, int); +int __sclose(void *); +void __sinit(void); +void _cleanup(void); +void (*__cleanup)(void); +void __smakebuf(FILE *); +int __swhatbuf(FILE *, size_t *, int *); int _fwalk __P((int (*)(FILE *))); -int __swsetup __P((FILE *)); -int __sflags __P((const char *, int *)); +int __swsetup(FILE *); +int __sflags(const char *, int *); extern int __sdidinit; -- cgit v1.2.3