* [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
* Re: [PATCH] crypt: fix for -Wimplicit-function-declaration
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)
0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2013-11-21 9:06 UTC (permalink / raw)
To: cygwin-apps
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
On Nov 20 19:08, Yaakov (Cygwin/X) wrote:
> Attached patch is pretty self-explanatory.
>
>
> Yaakov
> 2013-11-20 Yaakov Selkowitz <yselkowitz@...>
>
> * crypt.c: #include <time.h> to fix implicit declaration of time(3).
Thanks, applied. Shall I create a new release?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] crypt: fix for -Wimplicit-function-declaration
2013-11-21 9:06 ` Corinna Vinschen
@ 2013-11-21 11:25 ` Yaakov (Cygwin/X)
0 siblings, 0 replies; 3+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-11-21 11:25 UTC (permalink / raw)
To: cygwin-apps
On 2013-11-21 03:06, Corinna Vinschen wrote:
>> 2013-11-20 Yaakov Selkowitz <yselkowitz@...>
>>
>> * crypt.c: #include <time.h> to fix implicit declaration of time(3).
>
> Thanks, applied. Shall I create a new release?
Since srand(3) takes an int, I'm not sure that it's actually necessary
in this particular case.
BTW, you read my mind wrt your subsequent encrypt.h patch; thanks.
Yaakov
^ 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).