summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorRamiro Estrugo <ramiro@src.gnome.org>2001-04-23 13:55:27 +0000
committerRamiro Estrugo <ramiro@src.gnome.org>2001-04-23 13:55:27 +0000
commit0fa96245a10ce738ca5dc30a183020d740be851c (patch)
tree374470a87148695a6cef54af4f2fabbbe0f0ff89 /components
parent91a9805813db30bbd958894196c2e834d28cce92 (diff)
downloadnautilus-0fa96245a10ce738ca5dc30a183020d740be851c.tar.gz
Part of bug 7601 - FreeBSD portability fixes.
* components/music/esd-audio.c: (esdout_loop): Add return NULL to make gcc happy. * components/music/mpg123.c: (decode_loop): Add return NULL to make gcc happy. * libnautilus-extensions/nautilus-customization-data.c: Add missing include of <stdlib.h> * libnautilus-extensions/nautilus-file.c: (group_includes_user): Cast the gid to (gid_t) * libnautilus-extensions/nautilus-sound.c: Include <wait.h> only if we have it. Otherwise try <sys/wait.h>. * src/nautilus-bookmark-parsing.c: Add missing include of <stdlib.h>
Diffstat (limited to 'components')
-rw-r--r--components/music/esd-audio.c1
-rw-r--r--components/music/mpg123.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/components/music/esd-audio.c b/components/music/esd-audio.c
index d8020fa1c..aef0236f9 100644
--- a/components/music/esd-audio.c
+++ b/components/music/esd-audio.c
@@ -370,6 +370,7 @@ esdout_loop (void *arg)
close (fd);
g_free (buffer);
pthread_exit (NULL);
+ return NULL; /* make gcc happy */
}
void
diff --git a/components/music/mpg123.c b/components/music/mpg123.c
index e88c24fa3..567e314af 100644
--- a/components/music/mpg123.c
+++ b/components/music/mpg123.c
@@ -772,6 +772,7 @@ static void
g_free (mpg123_pcm_sample);
pthread_exit (NULL);
+ return NULL; /* make GCC happy */
}
void