diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-08-10 21:00:30 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-08-10 21:00:30 +0000 |
commit | 1eba6a2bf0715455512ab2d41051a9b7a5e0d8d8 (patch) | |
tree | 594704bba36a25616a3ab9c3d5ad10db774c5c63 /bus/dir-watch-dnotify.c | |
parent | 6f8d6a591f889f9a34c758bea71f3aa8d782894c (diff) | |
download | dbus-1eba6a2bf0715455512ab2d41051a9b7a5e0d8d8.tar.gz |
* configure.in: make sure the compiler supports -Wfloat-equal
* bus/dir-watch-dnotify.c: move functional code after
variable declerations (C99 fix) (patches from Jens Granseuer
<jensgr at gmx dot net>
Diffstat (limited to 'bus/dir-watch-dnotify.c')
-rw-r--r-- | bus/dir-watch-dnotify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bus/dir-watch-dnotify.c b/bus/dir-watch-dnotify.c index 64cfc74d..87e32761 100644 --- a/bus/dir-watch-dnotify.c +++ b/bus/dir-watch-dnotify.c @@ -74,10 +74,10 @@ bus_watch_directory (const char *dir, void *userdata) void bus_drop_all_directory_watches (void) { - _dbus_verbose ("Dropping all watches on config directories\n"); - int i; - + + _dbus_verbose ("Dropping all watches on config directories\n"); + for (i = 0; i < num_fds; i++) { if (close (fds[i]) != 0) |