maint: update copyright
[gnulib.git] / tests / test-fcntl-safer.c
index 433160b..f58f5b8 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of opening a file descriptor.
-   Copyright (C) 2007-2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include "fcntl--.h"
 
+#include <errno.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <unistd.h>
+
+#include "macros.h"
+
 #define BASE "test-fcntl-safer.t"
 
 #include "test-open.h"
 
 int
-main ()
+main (void)
 {
-  return test_open ();
+  return test_open (open, true);
 }