svn commit: r259976 - in stable: 10/contrib/gperf/lib 8/contrib/gperf/lib 9/contrib/gperf/lib
Dimitry Andric
dim at FreeBSD.org
Sat Dec 28 00:03:17 UTC 2013
Author: dim
Date: Sat Dec 28 00:03:15 2013
New Revision: 259976
URL: http://svnweb.freebsd.org/changeset/base/259976
Log:
MFC r259756:
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.
Modified:
stable/10/contrib/gperf/lib/getline.cc
Directory Properties:
stable/10/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/8/contrib/gperf/lib/getline.cc
stable/9/contrib/gperf/lib/getline.cc
Directory Properties:
stable/8/contrib/gperf/ (props changed)
stable/9/contrib/gperf/ (props changed)
Modified: stable/10/contrib/gperf/lib/getline.cc
==============================================================================
--- stable/10/contrib/gperf/lib/getline.cc Fri Dec 27 23:13:38 2013 (r259975)
+++ stable/10/contrib/gperf/lib/getline.cc Sat Dec 28 00:03:15 2013 (r259976)
@@ -57,7 +57,7 @@ getstr (char **lineptr, size_t *n, FILE
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)
More information about the svn-src-stable-10
mailing list