mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
#define NULL if not defined by system includes.
This commit is contained in:
parent
7f400d1c62
commit
6134024815
@ -20,6 +20,10 @@
|
||||
#define MIN(a,b) (((a)<(b))?(a):(b))
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL ((void *) 0)
|
||||
#endif
|
||||
|
||||
/* Functions which don't return */
|
||||
|
||||
#define NORET __attribute__((noreturn))
|
||||
|
Loading…
Reference in New Issue
Block a user