summaryrefslogtreecommitdiffstats
path: root/freebsd/lib
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-06 09:11:47 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-11 10:08:05 +0100
commitb84c04ecfa2cb5502d1c35e3729879eeec720b3c (patch)
tree17b74ab25d78f3a9a6c0c5762162c478c3843888 /freebsd/lib
parentAdd and use <machine/rtems-bsd-user-space.h> (diff)
downloadrtems-libbsd-b84c04ecfa2cb5502d1c35e3729879eeec720b3c.tar.bz2
Move content to <machine/rtems-bsd-user-space.h>
Diffstat (limited to 'freebsd/lib')
-rw-r--r--freebsd/lib/libc/db/db/db.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/freebsd/lib/libc/db/db/db.c b/freebsd/lib/libc/db/db/db.c
index 2cfb0bb3..b6b4a5e6 100644
--- a/freebsd/lib/libc/db/db/db.c
+++ b/freebsd/lib/libc/db/db/db.c
@@ -51,13 +51,6 @@ dbopen(const char *fname, int flags, int mode, DBTYPE type, const void *openinfo
{
#define DB_FLAGS (DB_LOCK | DB_SHMEM | DB_TXN)
-#ifdef __rtems__
-/* FIXME: Add lock capabilities to RTEMS file system */
-#define O_EXLOCK 0
-#define O_SHLOCK 0
-/* FIXME: Add no symlink follow capabilities to RTEMS file system */
-#define O_NOFOLLOW 0
-#endif /* __rtems__ */
#define USE_OPEN_FLAGS \
(O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \
O_RDONLY | O_RDWR | O_SHLOCK | O_SYNC | O_TRUNC)