Make #error messages string-literals and remove punctuation.
Reported by: bde (for ip_divert) Reviewed by: bde MFC after: 3 days
This commit is contained in:
parent
0bff2999ef
commit
2e7b42f00f
@ -34,7 +34,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include "opt_inet6.h"
|
||||
#include "opt_sctp.h"
|
||||
#ifndef INET
|
||||
#error "IPDIVERT requires INET."
|
||||
#error "IPDIVERT requires INET"
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -70,7 +70,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <netinet/ip_gre.h>
|
||||
#include <machine/in_cksum.h>
|
||||
#else
|
||||
#error ip_gre input without IP?
|
||||
#error "ip_gre requires INET"
|
||||
#endif
|
||||
|
||||
#ifdef NETATALK
|
||||
|
@ -34,7 +34,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include "opt_ipdivert.h"
|
||||
#include "opt_inet.h"
|
||||
#ifndef INET
|
||||
#error IPFIREWALL requires INET.
|
||||
#error "IPFIREWALL requires INET"
|
||||
#endif /* INET */
|
||||
#include "opt_inet6.h"
|
||||
#include "opt_ipsec.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user