Get rid of register keyword usage in gperf, it is totally obsolete for

C++, and this allows gperf to be compiled for C++11 without a warning
about it.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2013-12-23 00:02:18 +00:00
parent fb962e6dcf
commit c807508f73

View File

@ -57,7 +57,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)