Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2014 22:14:37 +0000 (UTC)
From:      Pedro F. Giffuni <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269695 - head/lib/libc/net
Message-ID:  <53e3fa4d.2ff8.4272aad6@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Thu Aug  7 22:14:37 2014
New Revision: 269695
URL: http://svnweb.freebsd.org/changeset/base/269695

Log:
  Const-ify character string
  
  Obtained from:  Apple Inc. (Libc 997.90.3)
  MFC after:	3 days

Modified:
  head/lib/libc/net/linkaddr.c

Modified: head/lib/libc/net/linkaddr.c
==============================================================================
--- head/lib/libc/net/linkaddr.c	Thu Aug  7 22:08:43 2014	(r269694)
+++ head/lib/libc/net/linkaddr.c	Thu Aug  7 22:14:37 2014	(r269695)
@@ -118,7 +118,7 @@ link_addr(addr, sdl)
 	return;
 }
 
-static char hexlist[] = "0123456789abcdef";
+static const char hexlist[] = "0123456789abcdef";
 
 char *
 link_ntoa(sdl)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e3fa4d.2ff8.4272aad6>