diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-06 09:11:47 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-11 10:08:05 +0100 |
commit | b84c04ecfa2cb5502d1c35e3729879eeec720b3c (patch) | |
tree | 17b74ab25d78f3a9a6c0c5762162c478c3843888 /freebsd/sbin | |
parent | Add and use <machine/rtems-bsd-user-space.h> (diff) | |
download | rtems-libbsd-b84c04ecfa2cb5502d1c35e3729879eeec720b3c.tar.bz2 |
Move content to <machine/rtems-bsd-user-space.h>
Diffstat (limited to 'freebsd/sbin')
-rw-r--r-- | freebsd/sbin/dhclient/dhclient.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/freebsd/sbin/dhclient/dhclient.c b/freebsd/sbin/dhclient/dhclient.c index 30d05d26..97824985 100644 --- a/freebsd/sbin/dhclient/dhclient.c +++ b/freebsd/sbin/dhclient/dhclient.c @@ -384,9 +384,6 @@ main(int argc, char *argv[]) usage(); if (path_dhclient_pidfile == NULL) { -#ifdef __rtems__ -#define _PATH_VARRUN "/var/run" -#endif /* __rtems__ */ asprintf(&path_dhclient_pidfile, "%sdhclient.%s.pid", _PATH_VARRUN, *argv); if (path_dhclient_pidfile == NULL) @@ -464,10 +461,6 @@ main(int argc, char *argv[]) close(pipe_fd[0]); privfd = pipe_fd[1]; -#ifdef __rtems__ -/* FIXME: Add O_EXLOCK capabilities to RTEMS file system */ -#define O_EXLOCK 0 -#endif /* __rtems__ */ if ((fd = open(path_dhclient_db, O_RDONLY|O_EXLOCK|O_CREAT, 0)) == -1) error("can't open and lock %s: %m", path_dhclient_db); read_client_leases(); |