diff options
author | Colin Walters <walters@verbum.org> | 2008-12-19 18:54:59 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2008-12-19 20:03:47 -0500 |
commit | f8d2ef4aca7d74788b9c03272e9bb536254a8ac6 (patch) | |
tree | 8f73c11a718a20151d814cbd39ef96ae52d15893 /dbus/dbus-spawn.c | |
parent | dc77c213742d2a373e3ed134168e4377e7c99a61 (diff) |
Various compiler warning fixes
Diffstat (limited to 'dbus/dbus-spawn.c')
-rw-r--r-- | dbus/dbus-spawn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c index 35ccba6c..f4e3b587 100644 --- a/dbus/dbus-spawn.c +++ b/dbus/dbus-spawn.c @@ -36,6 +36,8 @@ #include <errno.h> #endif +extern char **environ; + /** * @addtogroup DBusInternalsUtils * @{ @@ -914,8 +916,6 @@ do_exec (int child_err_report_fd, if (envp == NULL) { - extern char **environ; - _dbus_assert (environ != NULL); envp = environ; |