From 4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 27 Mar 2012 11:51:08 +0200 Subject: reorganize file structure to match the upstream requirements --- pintos-progos/lib/stddef.h | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 pintos-progos/lib/stddef.h (limited to 'pintos-progos/lib/stddef.h') diff --git a/pintos-progos/lib/stddef.h b/pintos-progos/lib/stddef.h deleted file mode 100644 index 4e74fa6..0000000 --- a/pintos-progos/lib/stddef.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef __LIB_STDDEF_H -#define __LIB_STDDEF_H - -#define NULL ((void *) 0) -#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) - -/* GCC predefines the types we need for ptrdiff_t and size_t, - so that we don't have to guess. */ -typedef __PTRDIFF_TYPE__ ptrdiff_t; -typedef __SIZE_TYPE__ size_t; - -#endif /* lib/stddef.h */ -- cgit v1.2.3