]> Savannah Git Hosting - gnulib.git/commitdiff
posixtm: Remove unused includes.
authorBruno Haible <bruno@clisp.org>
Sun, 7 Mar 2021 00:39:16 +0000 (01:39 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 7 Mar 2021 00:39:16 +0000 (01:39 +0100)
* lib/posixtm.c: Don't include <stdio.h>, <sys/types.h>, unlocked-io.h.

ChangeLog
lib/posixtm.c

index 5a100d76f1795447cc5799f409548f3e077535e2..cfa60e0cd1a26e8d7cdd8b332882c4db3ffa90a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-03-06  Bruno Haible  <bruno@clisp.org>
+
+       posixtm: Remove unused includes.
+       * lib/posixtm.c: Don't include <stdio.h>, <sys/types.h>, unlocked-io.h.
+
 2021-03-06  Bruno Haible  <bruno@clisp.org>
 
        dynarray: Add tests.
index dd893305e2708804930d7054ed4bbdf2909c8815..d142484f7d991d20c6aa5125fe898d47429025b8 100644 (file)
 
 #include "posixtm.h"
 
-#include <stdio.h>
 #include <stdlib.h>
-#include <sys/types.h>
 #include <string.h>
 
-#if USE_UNLOCKED_IO
-# include "unlocked-io.h"
-#endif
-
 /* ISDIGIT differs from isdigit, as follows:
    - Its arg may be any int or unsigned int; it need not be an unsigned char
      or EOF.