Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/pax Include time.h for time(2). Sort.



details:   https://anonhg.NetBSD.org/src/rev/e2f8b9e8aa9c
branches:  trunk
changeset: 826857:e2f8b9e8aa9c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Oct 02 21:55:35 2017 +0000

description:
Include time.h for time(2). Sort.

diffstat:

 bin/pax/ar_io.c |  20 ++++++++++----------
 bin/pax/pax.c   |  16 ++++++++--------
 2 files changed, 18 insertions(+), 18 deletions(-)

diffs (86 lines):

diff -r 75c967c2d89a -r e2f8b9e8aa9c bin/pax/ar_io.c
--- a/bin/pax/ar_io.c   Mon Oct 02 21:53:55 2017 +0000
+++ b/bin/pax/ar_io.c   Mon Oct 02 21:55:35 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ar_io.c,v 1.57 2016/05/31 03:32:36 dholland Exp $      */
+/*     $NetBSD: ar_io.c,v 1.58 2017/10/02 21:57:59 joerg Exp $ */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -42,27 +42,27 @@
 #if 0
 static char sccsid[] = "@(#)ar_io.c    8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: ar_io.c,v 1.57 2016/05/31 03:32:36 dholland Exp $");
+__RCSID("$NetBSD: ar_io.c,v 1.58 2017/10/02 21:57:59 joerg Exp $");
 #endif
 #endif /* not lint */
 
-#include <sys/types.h>
 #include <sys/param.h>
-#include <sys/time.h>
-#include <sys/stat.h>
 #include <sys/ioctl.h>
 #ifdef HAVE_SYS_MTIO_H
 #include <sys/mtio.h>
 #endif
+#include <sys/stat.h>
+#include <sys/time.h>
 #include <sys/wait.h>
-#include <signal.h>
-#include <string.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdio.h>
 #include <ctype.h>
 #include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <unistd.h>
 #ifdef SUPPORT_RMT
 #define __RMTLIB_PRIVATE
 #include <rmt.h>
diff -r 75c967c2d89a -r e2f8b9e8aa9c bin/pax/pax.c
--- a/bin/pax/pax.c     Mon Oct 02 21:53:55 2017 +0000
+++ b/bin/pax/pax.c     Mon Oct 02 21:55:35 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pax.c,v 1.47 2011/08/29 14:47:48 joerg Exp $   */
+/*     $NetBSD: pax.c,v 1.48 2017/10/02 21:55:35 joerg Exp $   */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -44,23 +44,23 @@
 #if 0
 static char sccsid[] = "@(#)pax.c      8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: pax.c,v 1.47 2011/08/29 14:47:48 joerg Exp $");
+__RCSID("$NetBSD: pax.c,v 1.48 2017/10/02 21:55:35 joerg Exp $");
 #endif
 #endif /* not lint */
 
-#include <sys/types.h>
 #include <sys/param.h>
+#include <sys/resource.h>
 #include <sys/stat.h>
 #include <sys/time.h>
-#include <sys/resource.h>
-#include <stdio.h>
+#include <errno.h>
 #include <fcntl.h>
+#include <paths.h>
 #include <signal.h>
-#include <unistd.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <errno.h>
-#include <paths.h>
+#include <time.h>
+#include <unistd.h>
 #include <util.h>
 #include "pax.h"
 #include "extern.h"



Home | Main Index | Thread Index | Old Index