svn commit: r270032 - stable/10/lib/libc/net

Pedro F. Giffuni pfg at FreeBSD.org
Sat Aug 16 01:00:38 UTC 2014


Author: pfg
Date: Sat Aug 16 01:00:37 2014
New Revision: 270032
URL: http://svnweb.freebsd.org/changeset/base/270032

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

Modified:
  stable/10/lib/libc/net/linkaddr.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/net/linkaddr.c
==============================================================================
--- stable/10/lib/libc/net/linkaddr.c	Sat Aug 16 00:54:56 2014	(r270031)
+++ stable/10/lib/libc/net/linkaddr.c	Sat Aug 16 01:00:37 2014	(r270032)
@@ -118,7 +118,7 @@ link_addr(addr, sdl)
 	return;
 }
 
-static char hexlist[] = "0123456789abcdef";
+static const char hexlist[] = "0123456789abcdef";
 
 char *
 link_ntoa(sdl)


More information about the svn-src-stable mailing list