]> 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>
Tue, 21 Jun 2022 21:19:07 +0000 (23:19 +0200)
* lib/lchmod.c: Remove unnecessary include, obsolete since 2020-02-23.

ChangeLog
lib/lchmod.c

index be124ac039424022b62c7f71c1fd53c3a95f0a2d..6163d7280a5a6c83bab249bc9a2e1c33fb78fd77 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-20  Bruno Haible  <bruno@clisp.org>
 
        javacomp-script, javaexec-script: Add support for disabling Java.
index 980209842165debf32e679666eee3953184ba6d2..8410a2d835fc0132eb006bd4b5e016d4fb9d8e6a 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.