Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/shuffle Include <limits.h> for LONG_MIN/LONG_MAX.



details:   https://anonhg.NetBSD.org/src/rev/53259c7a99ea
branches:  trunk
changeset: 514394:53259c7a99ea
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Sep 01 02:17:29 2001 +0000

description:
Include <limits.h> for LONG_MIN/LONG_MAX.
Put kernel include file first, as per KNF.

diffstat:

 usr.bin/shuffle/shuffle.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r cbacb148b107 -r 53259c7a99ea usr.bin/shuffle/shuffle.c
--- a/usr.bin/shuffle/shuffle.c Sat Sep 01 02:01:48 2001 +0000
+++ b/usr.bin/shuffle/shuffle.c Sat Sep 01 02:17:29 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: shuffle.c,v 1.10 2001/05/29 23:22:42 perry Exp $       */
+/*     $NetBSD: shuffle.c,v 1.11 2001/09/01 02:17:29 simonb Exp $      */
 
 /*
  * Copyright (c) 1998
@@ -33,16 +33,18 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: shuffle.c,v 1.10 2001/05/29 23:22:42 perry Exp $");
+__RCSID("$NetBSD: shuffle.c,v 1.11 2001/09/01 02:17:29 simonb Exp $");
 #endif /* not lint */
 
+#include <sys/time.h>
+
 #include <err.h>
+#include <errno.h>
+#include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <errno.h>
-#include <sys/time.h>
 
 static void enomem(void);
 static void *emalloc(size_t);



Home | Main Index | Thread Index | Old Index