From b5a3c006719c0e52ceec1912abc8b03cba57d5f5 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 27 Jun 2018 15:07:39 -0600 Subject: [PATCH] DtTerm/util: remove register keyword --- cde/lib/DtTerm/util/lineToData.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cde/lib/DtTerm/util/lineToData.c b/cde/lib/DtTerm/util/lineToData.c index 6aba35e8..7c8803b1 100644 --- a/cde/lib/DtTerm/util/lineToData.c +++ b/cde/lib/DtTerm/util/lineToData.c @@ -62,8 +62,8 @@ main(int argc, char **argv) char buffer[BUFSIZ]; char *bufPtr; char orig[BUFSIZ]; - register int i; - register char *c; + int i; + char *c; FILE *f; extern char *optarg; char *prefix = "_Term"; @@ -301,7 +301,7 @@ main(int argc, char **argv) int ParseChar(char **str) { - register char *c = *str; + char *c = *str; char *ptr; int ret = 0; @@ -387,7 +387,7 @@ ParseChar(char **str) int parseCoord(char **str, char *val, signed char *offset) { - register char *c = *str; + char *c = *str; char *ptr; int sign = 1; @@ -442,7 +442,7 @@ parseCoord(char **str, char *val, signed char *offset) char * parseToken(char **str) { - register char *c = *str; + char *c = *str; char *ret; /* skip white space... */ @@ -469,7 +469,7 @@ parseToken(char **str) void displayErrorString(FILE *f, char *orig, char *remain) { - register int col; + int col; (void) fprintf(f, " %s\n", orig); if (!remain || !*remain) { -- 2.25.1