diff options
author | markm <markm@FreeBSD.org> | 2001-12-02 23:44:42 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-12-02 23:44:42 +0000 |
commit | c318e515abeb1165a8df0ca4a3f4f52c5ac1e2dc (patch) | |
tree | d53f6751366678e921aaba305f7a1a69ee3176f6 /usr.bin/colrm | |
parent | 6aad061ae72991511c19b2a0ffdda6d071ccb1bd (diff) | |
download | FreeBSD-src-c318e515abeb1165a8df0ca4a3f4f52c5ac1e2dc.zip FreeBSD-src-c318e515abeb1165a8df0ca4a3f4f52c5ac1e2dc.tar.gz |
Style stuff.
Sort includes.
Remove 'register'
Use __FBSDID().
Diffstat (limited to 'usr.bin/colrm')
-rw-r--r-- | usr.bin/colrm/colrm.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/usr.bin/colrm/colrm.c b/usr.bin/colrm/colrm.c index b00182d..16035cc 100644 --- a/usr.bin/colrm/colrm.c +++ b/usr.bin/colrm/colrm.c @@ -29,24 +29,26 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1991, 1993\n\ The Regents of the University of California. All rights reserved.\n"; -#endif /* not lint */ +#endif #ifndef lint static const char sccsid[] = "@(#)colrm.c 8.2 (Berkeley) 5/4/95"; -#endif /* not lint */ +#endif #include <sys/types.h> -#include <limits.h> #include <err.h> #include <errno.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -62,8 +64,8 @@ main(argc, argv) int argc; char *argv[]; { - register u_long column, start, stop; - register int ch; + u_long column, start, stop; + int ch; char *p; while ((ch = getopt(argc, argv, "")) != -1) |