From owner-cvs-src@FreeBSD.ORG Fri May 2 15:25:08 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31CD01065732; Fri, 2 May 2008 15:25:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2327D8FC0A; Fri, 2 May 2008 15:25:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m42FP8aV055066; Fri, 2 May 2008 15:25:08 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m42FP7GC055065; Fri, 2 May 2008 15:25:07 GMT (envelope-from jhb) Message-Id: <200805021525.m42FP7GC055065@repoman.freebsd.org> From: John Baldwin Date: Fri, 2 May 2008 15:25:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/include stdio.h src/lib/libc/stdio Makefile.inc clrerr.c feof.c ferror.c fileno.c getc.c getchar.c local.h putc.c putchar.c unlocked.c xprintf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 15:25:08 -0000 jhb 2008-05-02 15:25:07 UTC FreeBSD src repository Modified files: include stdio.h lib/libc/stdio Makefile.inc clrerr.c feof.c ferror.c fileno.c getc.c getchar.c local.h putc.c putchar.c xprintf.c Removed files: lib/libc/stdio unlocked.c Log: Next round of stdio changes: Remove all inlining of stdio operations and move the definition of the type backing FILE (struct __sFILE) into an internal header. - Remove macros to inline certain operations from stdio.h. Applications will now always call the functions instead. - Move the various foo_unlocked() functions from unlocked.c into foo.c. This lets some of the inlining macros (e.g. __sfeof()) move into foo.c. - Update a few comments. - struct __sFILE can now go back to using mbstate_t, pthread_t, and pthread_mutex_t instead of knowing about their private, backing types. MFC after: 1 month Reviewed by: kan Revision Changes Path 1.65 +4 -172 src/include/stdio.h 1.38 +1 -1 src/lib/libc/stdio/Makefile.inc 1.11 +10 -1 src/lib/libc/stdio/clrerr.c 1.11 +9 -1 src/lib/libc/stdio/feof.c 1.11 +8 -2 src/lib/libc/stdio/ferror.c 1.12 +9 -1 src/lib/libc/stdio/fileno.c 1.15 +7 -2 src/lib/libc/stdio/getc.c 1.14 +7 -2 src/lib/libc/stdio/getchar.c 1.32 +132 -2 src/lib/libc/stdio/local.h 1.15 +7 -2 src/lib/libc/stdio/putc.c 1.15 +7 -2 src/lib/libc/stdio/putchar.c 1.2 +0 -94 src/lib/libc/stdio/unlocked.c (dead) 1.7 +3 -2 src/lib/libc/stdio/xprintf.c