From d1462d2e3f8a48eca8018e78b5f250db7cde458d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 21 Jan 1999 14:52:39 +0000 Subject: Update. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print. * sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h. * sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h. * posix/Makefile (headers): Add sys/sysmacros.h. * posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD. * sysdeps/generic/sys/sysmacros.h: New file. * sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and major definition. --- sysdeps/mach/hurd/xmknod.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sysdeps/mach/hurd') diff --git a/sysdeps/mach/hurd/xmknod.c b/sysdeps/mach/hurd/xmknod.c index fefc955324..f67218102c 100644 --- a/sysdeps/mach/hurd/xmknod.c +++ b/sysdeps/mach/hurd/xmknod.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 94, 95, 96, 99 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -23,10 +23,7 @@ #include #include "stdio-common/_itoa.h" #include - -/* Temporary hack; this belongs in a header file, probably types.h. */ -#define major(x) ((int)(((unsigned int) (x) >> 8) & 0xff)) -#define minor(x) ((int)((x) & 0xff)) +#include /* Create a device file named FILE_NAME, with permission and special bits MODE -- cgit 1.4.1