diff options
author | Colin Walters <walters@verbum.org> | 2008-12-19 18:54:59 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-01-06 19:56:53 -0500 |
commit | d108cb7903ed8c4f4b5d274022c8d04f3d1c87c7 (patch) | |
tree | 8385581208e828f3d301bf931c38cba3286d03c7 /dbus/dbus-spawn.c | |
parent | 0b6c70e301b809b65140edaa3113ec59cb7f8824 (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; |