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/9/contrib/gperf/lib/getline.cc Directory Properties: stable/9/contrib/gperf/ (props changed) Changes in other areas also in this revision: Modified: stable/10/contrib/gperf/lib/getline.cc stable/8/contrib/gperf/lib/getline.cc Directory Properties: stable/10/ (props changed) stable/8/contrib/gperf/ (props changed) Modified: stable/9/contrib/gperf/lib/getline.cc ============================================================================== --- stable/9/contrib/gperf/lib/getline.cc Fri Dec 27 23:13:38 2013 (r259975) +++ stable/9/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) _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"