From 36155ebb04c4039ed1fec520e6a932ad53b46dda Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 4 Jan 2000 14:03:38 +0000 Subject: [PATCH] Removed warning. --- c/src/tests/libtests/putenvtest/init.c | 3 +++ testsuites/libtests/putenvtest/init.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/c/src/tests/libtests/putenvtest/init.c b/c/src/tests/libtests/putenvtest/init.c index 6c3aa0eaf5..eb19d4af80 100644 --- a/c/src/tests/libtests/putenvtest/init.c +++ b/c/src/tests/libtests/putenvtest/init.c @@ -26,6 +26,9 @@ #include #include +/* putenv is beyond ANSI so prototype it here */ +int putenv(const char *string); + rtems_task Init( rtems_task_argument argument ); diff --git a/testsuites/libtests/putenvtest/init.c b/testsuites/libtests/putenvtest/init.c index 6c3aa0eaf5..eb19d4af80 100644 --- a/testsuites/libtests/putenvtest/init.c +++ b/testsuites/libtests/putenvtest/init.c @@ -26,6 +26,9 @@ #include #include +/* putenv is beyond ANSI so prototype it here */ +int putenv(const char *string); + rtems_task Init( rtems_task_argument argument );