Subject: CVS commit: src/bin/sleep
To: None <source-changes@NetBSD.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 08/18/2007 00:41:53
Module Name:	src
Committed By:	hubertf
Date:		Sat Aug 18 00:41:52 UTC 2007

Modified Files:
	src/bin/sleep: sleep.1 sleep.c

Log Message:
- Cleanup for sleep.c:
  + mark two functions as static
  + remove case '?' in switch() before default
  + use return instead of exit() in main() function
  + use constants EXIT_SUCCESS/EXIT_FAILURE instead of 0/1

- In man sleep(1):
  + cleanup example

Patch submitted by Slava Semushin <php-coder@altlinux.ru> in private email.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/bin/sleep/sleep.1
cvs rdiff -r1.20 -r1.21 src/bin/sleep/sleep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.