]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libiberty: remove duplicated declaration of mkstemps
authorAndreas Schwab <schwab@suse.de>
Wed, 14 May 2025 13:12:16 +0000 (15:12 +0200)
committerAndreas Schwab <schwab@suse.de>
Wed, 14 May 2025 13:58:33 +0000 (15:58 +0200)
* libiberty.h (mkstemps): Remove duplicate.

include/libiberty.h

index d4e8791b14bafa2233d3dca671ea7d50e8bca78b..4ec9b9afd177d7afe20a33cb5b247f2862ff6762 100644 (file)
@@ -215,10 +215,6 @@ extern int ffs(int);
 extern int mkstemps(char *, int);
 #endif
 
-#if defined (HAVE_DECL_MKSTEMPS) && !HAVE_DECL_MKSTEMPS
-extern int mkstemps(char *, int);
-#endif
-
 /* Make memrchr available on systems that do not have it.  */
 #if !defined (__GNU_LIBRARY__ ) && !defined (__linux__) && \
     !defined (HAVE_MEMRCHR)