[rtems commit] shell: Fix missing prototype warning

Sebastian Huber sebh at rtems.org
Thu Sep 28 11:22:26 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 28 13:18:52 2017 +0200

shell: Fix missing prototype warning

---

 cpukit/libmisc/shell/main_dd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/libmisc/shell/main_dd.c b/cpukit/libmisc/shell/main_dd.c
index e9c8bf3..9d1bda7 100644
--- a/cpukit/libmisc/shell/main_dd.c
+++ b/cpukit/libmisc/shell/main_dd.c
@@ -49,6 +49,7 @@ static char sccsid[] = "@(#)dd.c	8.5 (Berkeley) 4/2/94";
 __FBSDID("$FreeBSD: src/bin/dd/dd.c,v 1.43 2004/08/15 19:10:05 rwatson Exp $");
 #endif
 
+#define _GNU_SOURCE
 #include <rtems.h>
 #include <rtems/shell.h>
 #include <rtems/shellconfig.h>




More information about the vc mailing list