aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/k12.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-04-21 22:57:22 +0000
committerGuy Harris <guy@alum.mit.edu>2007-04-21 22:57:22 +0000
commit5713f5365222641c8e11ea408bba32ce4f07819d (patch)
tree362699076b26ed74e31d69c04e83bb0293c90542 /wiretap/k12.c
parent4960e685787653ff466f613a02f46914d1cfc040 (diff)
Explicitly mark new_k12_file_data() as taking no arguments - in C89, at
least, "int foo()" defines or declares an old-style function, not one with no arguments. svn path=/trunk/; revision=21488
Diffstat (limited to 'wiretap/k12.c')
-rw-r--r--wiretap/k12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/k12.c b/wiretap/k12.c
index 7423de2ec5..59fba4a9a8 100644
--- a/wiretap/k12.c
+++ b/wiretap/k12.c
@@ -533,7 +533,7 @@ static gboolean k12_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_head
}
-static k12_t* new_k12_file_data() {
+static k12_t* new_k12_file_data(void) {
k12_t* fd = g_malloc(sizeof(k12_t));
fd->file_len = 0;