fmtmsg.h should be simplified and neither define NULL nor _NULL
as part of 5218, fmtmsg.h showed a need to be simplified and not define
extraneous symbols, such as NULL (defined via stdio.h, stdlib.h or unistd.h)
and _NULL (an artefact to avoid pollluting namespace with the unnecessary NULL).
Instead of NULL, use directly ((void *)0) or perhaps '(void *)0'
At the same time this will make the header full look more like the POSIX defining one
Updated by Electric Monk over 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 4870e0a7381ec2ec57437062574e6ddc3dd48d7f Author: Richard PALO <richard@NetBSD.org> Date: 2016-02-05T18:35:27.000Z 6582 initial reorg adding sys/null.h for 5218 6487 clean up __STDC__ ifdefs in rpcsvc/dbm.h 6563 fmtmsg.h should be simplified and neither define NULL nor _NULL Reviewed by: Josef 'Jeff' Sipek <email@example.com> Reviewed by: Gary Mills <firstname.lastname@example.org> Reviewed by: Robert Mustacci <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>