Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen don't include machine/param.h <sys/param.h> alr...



details:   https://anonhg.NetBSD.org/src/rev/844c0f44b477
branches:  trunk
changeset: 820780:844c0f44b477
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 14 22:19:29 2017 +0000

description:
don't include machine/param.h <sys/param.h> already does WTF?

diffstat:

 lib/libc/gen/getpwent.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 0ea83b36ae72 -r 844c0f44b477 lib/libc/gen/getpwent.c
--- a/lib/libc/gen/getpwent.c   Sat Jan 14 21:58:17 2017 +0000
+++ b/lib/libc/gen/getpwent.c   Sat Jan 14 22:19:29 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getpwent.c,v 1.81 2012/09/08 15:15:06 dholland Exp $   */
+/*     $NetBSD: getpwent.c,v 1.82 2017/01/14 22:19:29 christos Exp $   */
 
 /*-
  * Copyright (c) 1997-2000, 2004-2005 The NetBSD Foundation, Inc.
@@ -88,7 +88,7 @@
 #if 0
 static char sccsid[] = "@(#)getpwent.c 8.2 (Berkeley) 4/27/95";
 #else
-__RCSID("$NetBSD: getpwent.c,v 1.81 2012/09/08 15:15:06 dholland Exp $");
+__RCSID("$NetBSD: getpwent.c,v 1.82 2017/01/14 22:19:29 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -117,7 +117,6 @@
 #endif
 
 #ifdef YP
-#include <machine/param.h>
 #include <rpc/rpc.h>
 #include <rpcsvc/yp_prot.h>
 #include <rpcsvc/ypclnt.h>



Home | Main Index | Thread Index | Old Index