aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-03-26 10:39:03 +0000
committerEric Wong <normalperson@yhbt.net>2008-03-26 10:39:03 +0000
commit232c9f6c41387bc3cf1c239e0ce4caafbbb76c67 (patch)
treea59f599bae44be0c0744c370134e7786bc243bbc /src/notify.h
parent70dbc2b0e76f479961bd0ac326ee6a5d009cc170 (diff)
downloadmpd-232c9f6c41387bc3cf1c239e0ce4caafbbb76c67.tar.gz
mpd-232c9f6c41387bc3cf1c239e0ce4caafbbb76c67.tar.xz
mpd-232c9f6c41387bc3cf1c239e0ce4caafbbb76c67.zip
notify: cleanups
* move set_nonblock{,ing}() into utils.c since we use it elsewhere, too * add proper error checking to set_nonblocking() * use os_compat.h instead of individually #includ-ing system headers git-svn-id: https://svn.musicpd.org/mpd/trunk@7217 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/notify.h')
-rw-r--r--src/notify.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify.h b/src/notify.h
index ce6396a96..6c36b019e 100644
--- a/src/notify.h
+++ b/src/notify.h
@@ -38,7 +38,7 @@ typedef struct _Notify {
int fds[2];
} Notify;
-int initNotify(Notify *notify);
+void initNotify(Notify *notify);
int waitNotify(Notify *notify);