[rtems-libbsd commit] subr_hints.c: For RTEMS use static_hints

Joel Sherrill joel at rtems.org
Mon Jul 9 19:30:51 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    7a1309a30449acb6babca512adc22ef8d1e1000e
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=7a1309a30449acb6babca512adc22ef8d1e1000e

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Jul  9 14:33:02 2012 -0500

subr_hints.c: For RTEMS use static_hints

The user MUST provide a static_hints character array. For now,
this must be manually constructed. In the future, we may want to
consider loading it from a file.

---

 freebsd/kern/subr_hints.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/freebsd/kern/subr_hints.c b/freebsd/kern/subr_hints.c
index 0d64af0..dbd120e 100644
--- a/freebsd/kern/subr_hints.c
+++ b/freebsd/kern/subr_hints.c
@@ -43,8 +43,7 @@ static int checkmethod = 1;
 static int use_kenv;
 static char *hintp;
 #ifdef __rtems__
-char static_hints[] = {};
-int hintmode = 2;
+int hintmode = 1;  /* always use static_hints */
 #endif /* __rtems__ */
 
 /*




More information about the vc mailing list