summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-09 14:33:02 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-09 14:33:02 -0500
commit7a1309a30449acb6babca512adc22ef8d1e1000e (patch)
tree6c21375381a2149e41cf587a88a76b30c6578a5d
parentFXP: Remove hack and use hint provided by application (diff)
downloadrtems-libbsd-7a1309a30449acb6babca512adc22ef8d1e1000e.tar.bz2
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.
-rw-r--r--freebsd/kern/subr_hints.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/freebsd/kern/subr_hints.c b/freebsd/kern/subr_hints.c
index 0d64af08..dbd120e6 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__ */
/*