]> Savannah Git Hosting - gnulib.git/commitdiff
lchmod: Simplify.
authorBruno Haible <bruno@clisp.org>
Tue, 21 Jun 2022 21:19:07 +0000 (23:19 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Aug 2022 23:14:40 +0000 (01:14 +0200)
* lib/lchmod.c: Remove unnecessary include, obsolete since 2020-02-23.

ChangeLog
lib/lchmod.c

index 5309c33a3aa449fa8e50dc02b7143e45712aa3da..753e8df6956e617f0de61befd6b7e147d30198d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-06-21  Bruno Haible  <bruno@clisp.org>
+
+       lchmod: Simplify.
+       * lib/lchmod.c: Remove unnecessary include, obsolete since 2020-02-23.
+
 2022-06-19  Paul Eggert  <eggert@cs.ucla.edu>
 
        lchmod: port back to AIX 7.2
index 424480d2324b3dfe910f74491dc170c222e6a75a..271b631525886e5e47a56e079c7d93e20f2d7605 100644 (file)
 #include <string.h>
 #include <unistd.h>
 
-#ifdef __osf__
-/* Write "sys/stat.h" here, not <sys/stat.h>, otherwise OSF/1 5.1 DTK cc
-   eliminates this include because of the preliminary #include <sys/stat.h>
-   above.  */
-# include "sys/stat.h"
-#else
-# include <sys/stat.h>
-#endif
-
 #include <intprops.h>
 
 /* Work like chmod, except when FILE is a symbolic link.