From a648657024081034f69abebfcae78b671d963536 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Sun, 8 Jul 2007 17:25:30 -0600 Subject: [PATCH] man page tweaks, cleanup my_dev_t.h ancient stuff --- getopt/getopt.1 | 5 +++-- hwclock/hwclock.8 | 4 ++-- mount/my_dev_t.h | 15 --------------- 3 files changed, 5 insertions(+), 19 deletions(-) diff --git a/getopt/getopt.1 b/getopt/getopt.1 index 60df5d3c..a6fb4e85 100644 --- a/getopt/getopt.1 +++ b/getopt/getopt.1 @@ -403,9 +403,10 @@ if it is called with Example scripts for (ba)sh and (t)csh are provided with the .BR getopt (1) distribution, and are optionally installed in -.B /usr/local/lib/getopt +.BR /usr/lib/getopt or -.BR /usr/lib/getopt . +.B /usr/local/lib/getopt +(if you have created it). .SH ENVIRONMENT .IP POSIXLY_CORRECT This environment variable is examined by the diff --git a/hwclock/hwclock.8 b/hwclock/hwclock.8 index 47a56f7c..2840c05b 100644 --- a/hwclock/hwclock.8 +++ b/hwclock/hwclock.8 @@ -602,8 +602,6 @@ are supported by the hardware. .SH FILES .I /etc/adjtime .I /usr/share/zoneinfo/ -.RI ( /usr/lib/zoneinfo -on old systems) .I /dev/rtc .I /dev/rtc0 .I /dev/port @@ -617,6 +615,8 @@ on old systems) .BR settimeofday (2), .BR crontab (1), .BR tzset (3) +.BR /etc/init.d/hwclock.sh, +.BR /usr/share/doc/util-linux/README.Debian.hwclock .SH AUTHORS Written by Bryan Henderson, September 1996 (bryanh@giraffe-data.com), diff --git a/mount/my_dev_t.h b/mount/my_dev_t.h index 11825e27..5c4c0a1b 100644 --- a/mount/my_dev_t.h +++ b/mount/my_dev_t.h @@ -2,19 +2,4 @@ /* glibc uses a different dev_t */ #include -#include - -#ifndef KERNEL_VERSION -#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) -#endif - -#if LINUX_VERSION_CODE < KERNEL_VERSION(1,3,78) -/* for i386 - alpha uses unsigned int */ -#define my_dev_t unsigned short -#else -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,68) -#define my_dev_t __kernel_dev_t -#else #define my_dev_t __kernel_old_dev_t -#endif -#endif -- 2.39.5