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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259756

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)