Mark parameterless function declarations as 'void'.

This commit is contained in:
Diego Biurrun
2011-05-26 13:37:13 +02:00
parent 48520772d9
commit e169428529
2 changed files with 3 additions and 2 deletions

View File

@@ -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: