[rtems-libbsd commit] Declare feature_present()

Sebastian Huber sebh at rtems.org
Tue Jan 10 13:43:22 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jan 10 14:00:53 2017 +0100

Declare feature_present()

---

 rtemsbsd/include/machine/rtems-bsd-user-space.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rtemsbsd/include/machine/rtems-bsd-user-space.h b/rtemsbsd/include/machine/rtems-bsd-user-space.h
index 3bf971f..1166320 100644
--- a/rtemsbsd/include/machine/rtems-bsd-user-space.h
+++ b/rtemsbsd/include/machine/rtems-bsd-user-space.h
@@ -84,6 +84,9 @@ long long strtonum(const char *numstr, long long minval, long long maxval,
 /* FIXME: Add to Newlib */
 char *fgetln(FILE *fp, size_t *lenp);
 
+/* FIXME: Add to Newlib */
+int	feature_present(const char *);
+
 __END_DECLS
 
 #endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_USER_SPACE_H_ */




More information about the vc mailing list