We have sys/cdefs.h now, so remove hacks.

This commit is contained in:
Arun Thomas
2010-06-17 15:14:57 +00:00
parent 7b7091e905
commit 042b5bf606
19 changed files with 33 additions and 42 deletions

View File

@@ -33,12 +33,7 @@
#ifndef _SYS_QUEUE_H_
#define _SYS_QUEUE_H_
/* Minix doesn't have this file.
#include <sys/cdefs.h>
*/
/* Minix does needs this declaration from sys/cdefs.h though. */
#define __offsetof(type, field) ((size_t)(&((type *)0)->field))
/*
* This file defines four types of data structures: singly-linked lists,