From cbbdc2a484b38c848d415b715913ae406a7ea9b8 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 24 Jan 1999 02:42:58 +0000 Subject: 1999-01-22 Roland McGrath * file-set-trans.c: Remove makedev, major, minor macro definitions. * dir-lookup.c: Likewise. --- libdiskfs/dir-lookup.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libdiskfs/dir-lookup.c') diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index 9bb1d8a1..6e085e27 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs:dir_lookup - Copyright (C) 1992, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. + Copyright (C) 1992,93,94,95,96,97,98,99 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -25,10 +25,6 @@ #include "priv.h" #include "fs_S.h" -/* XXX - Temporary hack; this belongs in a header file, probably types.h. */ -#define major(x) ((int)(((unsigned) (x) >> 8) & 0xff)) -#define minor(x) ((int)((x) & 0xff)) - /* Implement dir_lookup as described in . */ kern_return_t diskfs_S_dir_lookup (struct protid *dircred, -- cgit v1.2.3