Move some macros to cdefs.h

This commit is contained in:
Guillem Jover
2006-02-14 06:43:04 +00:00
parent 5372b73685
commit 8150473420
4 changed files with 44 additions and 14 deletions

View File

@@ -1,23 +1,11 @@
#ifndef LIBBSD_H
#define LIBBSD_H
/*
* Generic definitions.
*/
#define setproctitle(fmt, args...)
#define __dead2
#define __unused
#define __printflike(x,y)
#define __FBSDID(x)
#include <sys/cdefs.h>
/*
* Include all bsd compat headers.
*/
#include <bsd/cdefs.h>
#include <bsd/random.h>
#include <bsd/string.h>
#include <bsd/queue.h>