This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] crypt: fix for -Wimplicit-function-declaration


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).

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 = "./"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]