[rtems commit] __assert.c: Fix missing prototype warnings

Joel Sherrill joel at rtems.org
Sun Sep 22 15:32:20 UTC 2013


Module:    rtems
Branch:    master
Commit:    e0e2615e2926b266f805e3f1c8eb5c058e30b66f
Changeset: http://git.rtems.org/rtems/commit/?id=e0e2615e2926b266f805e3f1c8eb5c058e30b66f

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sun Sep 22 10:06:15 2013 -0500

__assert.c: Fix missing prototype warnings

---

 cpukit/libcsupport/src/__assert.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/cpukit/libcsupport/src/__assert.c b/cpukit/libcsupport/src/__assert.c
index d29ea0b..43ba422 100644
--- a/cpukit/libcsupport/src/__assert.c
+++ b/cpukit/libcsupport/src/__assert.c
@@ -6,7 +6,7 @@
  */
 
 /*
- *  COPYRIGHT (c) 2007.
+ *  COPYRIGHT (c) 2007-2013.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -22,6 +22,7 @@
 #include <rtems.h>
 
 #if defined(RTEMS_NEWLIB) && !defined(HAVE___ASSERT_FUNC)
+#include <assert.h>
 
 /**
  * Newlib 1.16.0 added this method.  Together these provide an




More information about the vc mailing list