From e16942852979c44faaa8fcd6ad95d1ff3642368b Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Thu, 26 May 2011 13:37:13 +0200
Subject: [PATCH] Mark parameterless function declarations as 'void'.

---
 libavcodec/bink.c     | 2 +-
 libavformat/network.h | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavcodec/bink.c b/libavcodec/bink.c
index 34d4d10faef..e085aa54e29 100644
--- a/libavcodec/bink.c
+++ b/libavcodec/bink.c
@@ -1208,7 +1208,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
 /**
  * Caclulate quantization tables for version b
  */
-static av_cold void binkb_calc_quant()
+static av_cold void binkb_calc_quant(void)
 {
     uint8_t inv_bink_scan[64];
     double s[64];
diff --git a/libavformat/network.h b/libavformat/network.h
index 881384c943d..db8466ce203 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:
-- 
GitLab