Browse Source

Mark parameterless function declarations as 'void'.

tags/n0.8
Diego Biurrun 14 years ago
parent
commit
e169428529
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      libavcodec/bink.c
  2. +2
    -1
      libavformat/network.h

+ 1
- 1
libavcodec/bink.c View File

@@ -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];


+ 2
- 1
libavformat/network.h 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:


Loading…
Cancel
Save