Skip to content

Commit

Permalink
tools_common.h: fix get_vpx_encoder_count() proto
Browse files Browse the repository at this point in the history
silences a missing-prototype warning

Change-Id: Icf5c7f1f3e8ae9792276068fb3c0fd04b40fc7ad
  • Loading branch information
jzern committed May 12, 2015
1 parent 59e7a47 commit 5a73bbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static const VpxInterface vpx_encoders[] = {
#endif
};

int get_vpx_encoder_count() {
int get_vpx_encoder_count(void) {
return sizeof(vpx_encoders) / sizeof(vpx_encoders[0]);
}

Expand Down
2 changes: 1 addition & 1 deletion tools_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ typedef struct VpxInterface {
vpx_codec_iface_t *(*const codec_interface)();
} VpxInterface;

int get_vpx_encoder_count();
int get_vpx_encoder_count(void);
const VpxInterface *get_vpx_encoder_by_index(int i);
const VpxInterface *get_vpx_encoder_by_name(const char *name);

Expand Down

0 comments on commit 5a73bbd

Please sign in to comment.