summaryrefslogtreecommitdiff
path: root/src/flac
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2013-04-21 17:19:37 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-04-21 17:24:59 +1000
commit0b736a56051b9b94b69c21d960fe79e64251478e (patch)
tree228f89cfee1227124b48f639d9ac2ed88ddf1af3 /src/flac
parentd0c219f1978dbaa00a063ac82aa75c8af152cbbb (diff)
downloadflac-0b736a56051b9b94b69c21d960fe79e64251478e.tar.gz
Fix compiler warnings related to win utf8 stuff.
Diffstat (limited to 'src/flac')
-rw-r--r--src/flac/utils.c6
-rw-r--r--src/flac/utils.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/flac/utils.c b/src/flac/utils.c
index 965ab595..03dbdc8b 100644
--- a/src/flac/utils.c
+++ b/src/flac/utils.c
@@ -168,7 +168,7 @@ static int stats_char_count = 0;
static int console_width;
static int console_chars_left;
-int get_console_width()
+int get_console_width(void)
{
int width = 80;
#ifdef _WIN32
@@ -199,12 +199,12 @@ size_t strlen_console(const char *text)
#endif
}
-void stats_new_file()
+void stats_new_file(void)
{
is_name_printed = false;
}
-void stats_clear()
+void stats_clear(void)
{
while (stats_char_count > 0 && stats_char_count--)
fprintf(stderr, "\b");
diff --git a/src/flac/utils.h b/src/flac/utils.h
index b5ce839b..4e13fc41 100644
--- a/src/flac/utils.h
+++ b/src/flac/utils.h
@@ -53,10 +53,10 @@ size_t flac__utils_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stre
extern int flac__utils_verbosity_;
void flac__utils_printf(FILE *stream, int level, const char *format, ...);
-int get_console_width();
+int get_console_width(void);
size_t strlen_console(const char *text);
-void stats_new_file();
-void stats_clear();
+void stats_new_file(void);
+void stats_clear(void);
void stats_print_name(int level, const char *name);
void stats_print_info(int level, const char *format, ...);