Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa Now, NULL is always defined correctly, as we i...



details:   https://anonhg.NetBSD.org/src/rev/d42b5e1d904c
branches:  trunk
changeset: 365874:d42b5e1d904c
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Apr 30 09:24:05 2022 +0000

description:
Now, NULL is always defined correctly, as we include <sys/param.h> above.

diffstat:

 sys/lib/libsa/stand.h |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r 6f770f82ec90 -r d42b5e1d904c sys/lib/libsa/stand.h
--- a/sys/lib/libsa/stand.h     Sat Apr 30 07:07:01 2022 +0000
+++ b/sys/lib/libsa/stand.h     Sat Apr 30 09:24:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stand.h,v 1.86 2022/04/29 07:42:07 rin Exp $   */
+/*     $NetBSD: stand.h,v 1.87 2022/04/30 09:24:05 rin Exp $   */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -72,10 +72,6 @@
 #include "saioctl.h"
 #include "saerrno.h"
 
-#ifndef NULL
-#define        NULL    0
-#endif
-
 #ifdef LIBSA_RENAME_PRINTF
 #define getchar                libsa_getchar
 #define kgets          libsa_kgets



Home | Main Index | Thread Index | Old Index