From owner-svn-src-all@FreeBSD.ORG Mon Dec 23 00:02:19 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D3C0126; Mon, 23 Dec 2013 00:02:19 +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 48B0E13B8; Mon, 23 Dec 2013 00:02:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBN02JlA093692; Mon, 23 Dec 2013 00:02:19 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBN02JsA093691; Mon, 23 Dec 2013 00:02:19 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201312230002.rBN02JsA093691@svn.freebsd.org> From: Dimitry Andric Date: Mon, 23 Dec 2013 00:02:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259756 - head/contrib/gperf/lib X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2013 00:02:19 -0000 Author: dim Date: Mon Dec 23 00:02:18 2013 New Revision: 259756 URL: http://svnweb.freebsd.org/changeset/base/259756 Log: 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 Modified: head/contrib/gperf/lib/getline.cc Modified: head/contrib/gperf/lib/getline.cc ============================================================================== --- head/contrib/gperf/lib/getline.cc Sun Dec 22 23:52:11 2013 (r259755) +++ head/contrib/gperf/lib/getline.cc Mon Dec 23 00:02:18 2013 (r259756) @@ -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)