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)
_______________________________________________
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"

Reply via email to