summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/poll.h
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-03-02 12:41:26 +0100
committerColin Guthrie <cguthrie@mandriva.org>2011-03-11 11:49:35 +0000
commitecf09f2cd6bf2f46b0d2402c700ab618c090bd4c (patch)
treefa04aff3a62debf23ab4416fcc56e1e739512a7e /src/pulsecore/poll.h
parent5715b2af3091f9be9a656dfa9b8cb778caf1c03e (diff)
Fix up according to Coding Style
Only whitespace changes in here
Diffstat (limited to 'src/pulsecore/poll.h')
-rw-r--r--src/pulsecore/poll.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pulsecore/poll.h b/src/pulsecore/poll.h
index a137d974..dc741e5e 100644
--- a/src/pulsecore/poll.h
+++ b/src/pulsecore/poll.h
@@ -43,12 +43,11 @@
#define POLLNVAL 0x020 /* Invalid polling request. */
/* Data structure describing a polling request. */
-struct pollfd
- {
+struct pollfd {
int fd; /* File descriptor to poll. */
short int events; /* Types of events poller cares about. */
short int revents; /* Types of events that actually occurred. */
- };
+};
/* Poll the file descriptors described by the NFDS structures starting at
@@ -62,5 +61,5 @@ struct pollfd
#if defined(HAVE_POLL_H) && !defined(OS_IS_DARWIN)
#define pa_poll(fds,nfds,timeout) poll((fds),(nfds),(timeout))
#else
-int pa_poll (struct pollfd *fds, unsigned long nfds, int timeout);
+int pa_poll(struct pollfd *fds, unsigned long nfds, int timeout);
#endif