diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-05-26 13:37:13 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-05-26 16:26:17 +0200 |
commit | e16942852979c44faaa8fcd6ad95d1ff3642368b (patch) | |
tree | f19044fa7617884d1f878fb2f1a737a2a2d5684a /libavformat/network.h | |
parent | 48520772d9eba9725382be612f1dcd87d2fda2e6 (diff) | |
download | ffmpeg-e16942852979c44faaa8fcd6ad95d1ff3642368b.tar.gz |
Mark parameterless function declarations as 'void'.
Diffstat (limited to 'libavformat/network.h')
-rw-r--r-- | libavformat/network.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/network.h b/libavformat/network.h index 881384c943..db8466ce20 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -33,7 +33,8 @@ #define ECONNREFUSED WSAECONNREFUSED #define EINPROGRESS WSAEINPROGRESS -static inline int ff_neterrno() { +static inline int ff_neterrno(void) +{ int err = WSAGetLastError(); switch (err) { case WSAEWOULDBLOCK: |