haiku/headers/compatibility/bsd/sys/cdefs.h
Oliver Tappe 73f7af4d6c Drop "protected"-define from bsd-compatibility header
* drop "protected" from bsd-compat header sys/cdefs.h, as that define
  pollutes the global namespace and at least FreeBSD doesn't provide
  it anymore
* remove all uses of that macro from libedit, which seems to be the
  only user in our tree
2012-11-05 09:37:55 +01:00

19 lines
370 B
C

/*
* Copyright 2006-2012 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _BSD_SYS_CDEFS_H_
#define _BSD_SYS_CDEFS_H_
#include_next <sys/cdefs.h>
#define __FBSDID(x)
#define __unused
#define __printflike(a, b) __attribute__ ((format (__printf__, (a), (b))))
#define __printf0like(a, b)
#endif /* _BSD_SYS_CDEFS_H_ */