gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / tests / test-sockets.c
index 514409d..4e26f06 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2008 Free Software Foundation
+ * Copyright (C) 2008-2013 Free Software Foundation, Inc.
  * Written by Simon Josefsson.
  *
  * This program is free software: you can redistribute it and/or modify
@@ -22,7 +22,7 @@
 #include "sockets.h"
 
 int
-main (int argc, char *argv[])
+main (void)
 {
   int err;
 
@@ -40,5 +40,7 @@ main (int argc, char *argv[])
       return 1;
     }
 
+  (void) gl_fd_to_handle (0);
+
   return 0;
 }