summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/gperf/register.patch
blob: 8af66429ebaaa22ce4bb1055b47a3c114ddcb9c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/getline.cc b/lib/getline.cc
index ecc3e85..2d97644 100644 (file)
--- a/lib/getline.cc
+++ b/lib/getline.cc
@@ -55,7 +55,7 @@ getstr (char **lineptr, size_t *n, FILE *stream, char terminator, size_t offset)
 
   for (;;)
     {
-      register int c = getc (stream);
+      int c = getc (stream);
 
       /* We always want at least one char left in the buffer, since we
          always (unless we get an error while reading the first char)