public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [PATCH] crypt: fix for -Wimplicit-function-declaration
@ 2013-11-21  1:08 Yaakov (Cygwin/X)
  2013-11-21  9:06 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-11-21  1:08 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]

Attached patch is pretty self-explanatory.


Yaakov

[-- Attachment #2: crypt-Wimplicit-decls.patch --]
[-- Type: text/x-patch, Size: 531 bytes --]

2013-11-20  Yaakov Selkowitz  <yselkowitz@...>

	* crypt.c: #include <time.h> to fix implicit declaration of time(3).

Index: crypt.c
===================================================================
RCS file: /cvs/cygwin-apps/crypt/crypt.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 crypt.c
--- crypt.c	7 May 2012 11:00:13 -0000	1.1.1.1
+++ crypt.c	21 Nov 2013 00:55:55 -0000
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <time.h>
 #include "encrypt.h"
 
 const char *sc = "./"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-21 11:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-21  1:08 [PATCH] crypt: fix for -Wimplicit-function-declaration Yaakov (Cygwin/X)
2013-11-21  9:06 ` Corinna Vinschen
2013-11-21 11:25   ` Yaakov (Cygwin/X)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).