From owner-svn-src-stable-8@FreeBSD.ORG Sat Dec 28 00:03:16 2013 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AFFA0177; Sat, 28 Dec 2013 00:03:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B40D1CE3; Sat, 28 Dec 2013 00:03:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBS03GV7090463; Sat, 28 Dec 2013 00:03:16 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBS03G6m090462; Sat, 28 Dec 2013 00:03:16 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201312280003.rBS03G6m090462@svn.freebsd.org> From: Dimitry Andric Date: Sat, 28 Dec 2013 00:03:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r259976 - in stable: 10/contrib/gperf/lib 8/contrib/gperf/lib 9/contrib/gperf/lib X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Dec 2013 00:03:16 -0000 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/8/contrib/gperf/lib/getline.cc Directory Properties: stable/8/contrib/gperf/ (props changed) Changes in other areas also in this revision: Modified: stable/10/contrib/gperf/lib/getline.cc stable/9/contrib/gperf/lib/getline.cc Directory Properties: stable/10/ (props changed) stable/9/contrib/gperf/ (props changed) Modified: stable/8/contrib/gperf/lib/getline.cc ============================================================================== --- stable/8/contrib/gperf/lib/getline.cc Fri Dec 27 23:13:38 2013 (r259975) +++ stable/8/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)