source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* pod2mdoc: strftime(3), time(3), and localtime(3) are in <time.h>, not
@ 2015-05-19 19:22 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2015-05-19 19:22 UTC (permalink / raw)
  To: source

Log Message:
-----------
strftime(3), time(3), and localtime(3) are in <time.h>, not <sys/time.h>
noticed while testing on Linux

Modified Files:
--------------
    pod2mdoc:
        pod2mdoc.c

Revision Data
-------------
Index: pod2mdoc.c
===================================================================
RCS file: /home/cvs/mdocml/pod2mdoc/pod2mdoc.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -Lpod2mdoc.c -Lpod2mdoc.c -u -p -r1.60 -r1.61
--- pod2mdoc.c
+++ pod2mdoc.c
@@ -16,7 +16,6 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 #include <sys/stat.h>
-#include <sys/time.h>
 
 #include <assert.h>
 #include <ctype.h>
@@ -25,6 +24,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <time.h>
 #include <unistd.h>
 
 #include "dict.h"
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-19 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-19 19:22 pod2mdoc: strftime(3), time(3), and localtime(3) are in <time.h>, not schwarze

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 NNTP newsgroup(s).