]> andersk Git - openssh.git/commitdiff
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Fix implict declaration
authordtucker <dtucker>
Fri, 1 Sep 2006 09:29:01 +0000 (09:29 +0000)
committerdtucker <dtucker>
Fri, 1 Sep 2006 09:29:01 +0000 (09:29 +0000)
   warnings for binary_open and binary_close.  Patch from Corinna Vinschen.

ChangeLog
openbsd-compat/bsd-cygwin_util.c

index a0a6417cf52333ca261a9a65e8dd7cf7925db6ae..aa581847d5ff301f5fc17ca91bcf91a251eaf2a0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,8 @@
  - (djm) [includes.h monitor.c openbsd-compat/bindresvport.c]
    [openbsd-compat/rresvport.c] Some more headers: netinet/in.h 
    sys/socket.h and unistd.h in various places
+ - (dtucker) [openbsd-compat/bsd-cygwin_util.c] Fix implict declaration
+   warnings for binary_open and binary_close.  Patch from Corinna Vinschen.
 
 20060831
  - (djm) [CREDITS LICENCE Makefile.in auth.c configure.ac includes.h ]
index 4d31ef3b5017b4a22dd4a31aac23ecb3dcc1be15..dbf8176b6225f12beb576f1c6feeebd72137447c 100644 (file)
 
 #ifdef HAVE_CYGWIN
 
+#if defined(open) && open == binary_open
+# undef open
+#endif
+#if defined(pipe) && open == binary_pipe
+# undef pipe
+#endif
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/utsname.h>
 #define ntsec_off(c)   ((c) && strstr((c),"nontsec"))
 #define ntea_on(c)     ((c) && strstr((c),"ntea") && !strstr((c),"nontea"))
 
-#if defined(open) && open == binary_open
-# undef open
-#endif
-#if defined(pipe) && open == binary_pipe
-# undef pipe
-#endif
-
 int 
 binary_open(const char *filename, int flags, ...)
 {
This page took 0.069157 seconds and 5 git commands to generate.