summaryrefslogtreecommitdiff
path: root/recipes/pulseaudio/pulseaudio-0.9.10/pa-drop-caps-returns-void.patch
blob: 74ea6ac060d9f2eaa23c05f3390ab9bf036075f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
upstream: http://pulseaudio.org/changeset/2213

Index: pulseaudio-0.9.10/src/daemon/caps.c
===================================================================
--- pulseaudio-0.9.10.orig/src/daemon/caps.c	2008-05-03 12:10:26.000000000 +0200
+++ pulseaudio-0.9.10/src/daemon/caps.c	2008-05-03 12:10:30.000000000 +0200
@@ -131,9 +131,8 @@
     return 0;
 }
 
-int pa_drop_caps(void) {
+void pa_drop_caps(void) {
     pa_drop_root();
-    return 0;
 }
 
 #endif