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/round.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 pintos-progos/lib/round.h (limited to 'pintos-progos/lib/round.h') diff --git a/pintos-progos/lib/round.h b/pintos-progos/lib/round.h deleted file mode 100644 index 3aa6642..0000000 --- a/pintos-progos/lib/round.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef __LIB_ROUND_H -#define __LIB_ROUND_H - -/* Yields X rounded up to the nearest multiple of STEP. - For X >= 0, STEP >= 1 only. */ -#define ROUND_UP(X, STEP) (((X) + (STEP) - 1) / (STEP) * (STEP)) - -/* Yields X divided by STEP, rounded up. - For X >= 0, STEP >= 1 only. */ -#define DIV_ROUND_UP(X, STEP) (((X) + (STEP) - 1) / (STEP)) - -/* Yields X rounded down to the nearest multiple of STEP. - For X >= 0, STEP >= 1 only. */ -#define ROUND_DOWN(X, STEP) ((X) / (STEP) * (STEP)) - -/* There is no DIV_ROUND_DOWN. It would be simply X / STEP. */ - -#endif /* lib/round.h */ -- cgit v1.2.3