summaryrefslogtreecommitdiff
path: root/gst/gstpoll.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-11-26 18:57:44 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-11-26 18:57:44 +0000
commitc8380cb0d291d537b05bddb26061e9ca095cf62f (patch)
tree49a102de08768191feef281c8124552384c3ef26 /gst/gstpoll.h
parent33078aaeb70a9218242e41fc4b110bd1a1ac7a56 (diff)
gst: sprinkle some G_GNUC_MALLOC
Maybe gcc can do something clever with that, or at least warn us if we don't save the return value somewhere.
Diffstat (limited to 'gst/gstpoll.h')
-rw-r--r--gst/gstpoll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstpoll.h b/gst/gstpoll.h
index 741a79bf8..0bec8855a 100644
--- a/gst/gstpoll.h
+++ b/gst/gstpoll.h
@@ -63,8 +63,8 @@ typedef struct {
*/
#define GST_POLL_FD_INIT { -1, -1 }
-GstPoll* gst_poll_new (gboolean controllable);
-GstPoll* gst_poll_new_timer (void);
+GstPoll* gst_poll_new (gboolean controllable) G_GNUC_MALLOC;
+GstPoll* gst_poll_new_timer (void) G_GNUC_MALLOC;
void gst_poll_free (GstPoll *set);
void gst_poll_get_read_gpollfd (GstPoll *set, GPollFD *fd);