From 2f00889d7a2f3a40fab20c6c8b501654d617e3d5 Mon Sep 17 00:00:00 2001 From: solar Date: Wed, 31 May 2006 06:57:46 +0000 Subject: [PATCH] Disabled unused definitions to avoid warnings. git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@213 546481bc-9713-0410-bf18-d3337bbf4a3e --- platform/example/functions/_PDCLIB/stdinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/example/functions/_PDCLIB/stdinit.c b/platform/example/functions/_PDCLIB/stdinit.c index ec4193b..f83bc4f 100644 --- a/platform/example/functions/_PDCLIB/stdinit.c +++ b/platform/example/functions/_PDCLIB/stdinit.c @@ -18,13 +18,13 @@ /* In a POSIX system, stdin / stdout / stderr are equivalent to the (int) file descriptors 0, 1, and 2 respectively. */ +#if 0 +/* FIXME: Disabled for initial stdio.h development. */ /* TODO: This is proof-of-concept, requires finetuning. */ static struct _PDCLIB_file_t _PDCLIB_sin = { 0, { 0, 0 }, 0, 0, 0, /* mbstate, */ 0 }; static struct _PDCLIB_file_t _PDCLIB_sout = { 1, { 0, 0 }, 0, 0, 0, /* mbstate, */ 0 }; static struct _PDCLIB_file_t _PDCLIB_serr = { 2, { 0, 0 }, 0, 0, 0, /* mbstate, */ 0 }; -/* FIXME: Disabled for initial stdio.h development. */ -#if 0 struct _PDCLIB_file_t * stdin = &_PDCLIB_sin; struct _PDCLIB_file_t * stdout = &_PDCLIB_sout; struct _PDCLIB_file_t * stderr = &_PDCLIB_serr; -- 2.47.2