aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-28 23:45:36 +0100
committerMax Kellermann <max@duempel.org>2013-04-08 23:22:12 +0200
commit1bfa04f80e9826d7f1b886dd40a33e53d568ed95 (patch)
treeb4ed9ea3a1bbe70faeb100a2299c86f19f70c55c /src
parent98cbc0ea79ce5bea637f7bd7ebe94e698cd818a0 (diff)
downloadmpd-1bfa04f80e9826d7f1b886dd40a33e53d568ed95.tar.gz
mpd-1bfa04f80e9826d7f1b886dd40a33e53d568ed95.tar.xz
mpd-1bfa04f80e9826d7f1b886dd40a33e53d568ed95.zip
InputStream: use gcc.h attributes
Diffstat (limited to 'src')
-rw-r--r--src/input_stream.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/input_stream.h b/src/input_stream.h
index 24dda1eee..811aae3f9 100644
--- a/src/input_stream.h
+++ b/src/input_stream.h
@@ -49,7 +49,7 @@ extern "C" {
* @return an #input_stream object on success, NULL on error
*/
gcc_nonnull(1)
-G_GNUC_MALLOC
+gcc_malloc
struct input_stream *
input_stream_open(const char *uri,
Mutex &mutex, Cond &cond,
@@ -157,7 +157,7 @@ input_stream_lock_seek(struct input_stream *is, goffset offset, int whence,
* The caller must lock the mutex.
*/
gcc_nonnull(1)
-G_GNUC_PURE
+gcc_pure
bool input_stream_eof(struct input_stream *is);
/**
@@ -165,7 +165,7 @@ bool input_stream_eof(struct input_stream *is);
* the caller must not be holding it already.
*/
gcc_nonnull(1)
-G_GNUC_PURE
+gcc_pure
bool
input_stream_lock_eof(struct input_stream *is);
@@ -178,7 +178,7 @@ input_stream_lock_eof(struct input_stream *is);
* if the tag has not changed since the last call
*/
gcc_nonnull(1)
-G_GNUC_MALLOC
+gcc_malloc
struct tag *
input_stream_tag(struct input_stream *is);
@@ -187,7 +187,7 @@ input_stream_tag(struct input_stream *is);
* mutex; the caller must not be holding it already.
*/
gcc_nonnull(1)
-G_GNUC_MALLOC
+gcc_malloc
struct tag *
input_stream_lock_tag(struct input_stream *is);
@@ -199,7 +199,7 @@ input_stream_lock_tag(struct input_stream *is);
* The caller must lock the mutex.
*/
gcc_nonnull(1)
-G_GNUC_PURE
+gcc_pure
bool
input_stream_available(struct input_stream *is);