diff options
author | Mark Murray <markm@FreeBSD.org> | 2001-12-02 23:44:42 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2001-12-02 23:44:42 +0000 |
commit | 6e47870b778748203f6037a74730b99f419c66ce (patch) | |
tree | d53f6751366678e921aaba305f7a1a69ee3176f6 /usr.bin/colrm/colrm.c | |
parent | 3945c68f9336fb779a8089f7aa3e7945d87f016e (diff) | |
download | src-6e47870b778748203f6037a74730b99f419c66ce.tar.gz src-6e47870b778748203f6037a74730b99f419c66ce.zip |
Style stuff.
Sort includes.
Remove 'register'
Use __FBSDID().
Notes
Notes:
svn path=/head/; revision=87244
Diffstat (limited to 'usr.bin/colrm/colrm.c')
-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 b00182d604dd..16035cc02944 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) |