Module Name:    src
Committed By:   joerg
Date:           Sat Aug 27 22:30:44 UTC 2011

Modified Files:
        src/usr.sbin/btpand: bnep.c

Log Message:
Sprinkle const


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/btpand/bnep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/btpand/bnep.c
diff -u src/usr.sbin/btpand/bnep.c:1.10 src/usr.sbin/btpand/bnep.c:1.11
--- src/usr.sbin/btpand/bnep.c:1.10	Tue Feb  8 21:43:45 2011
+++ src/usr.sbin/btpand/bnep.c	Sat Aug 27 22:30:44 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: bnep.c,v 1.10 2011/02/08 21:43:45 plunky Exp $	*/
+/*	$NetBSD: bnep.c,v 1.11 2011/08/27 22:30:44 joerg Exp $	*/
 
 /*-
  * Copyright (c) 2008 Iain Hibbert
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: bnep.c,v 1.10 2011/02/08 21:43:45 plunky Exp $");
+__RCSID("$NetBSD: bnep.c,v 1.11 2011/08/27 22:30:44 joerg Exp $");
 
 #include <bluetooth.h>
 #include <sdp.h>
@@ -49,7 +49,7 @@
 static bool bnep_pfilter(channel_t *, packet_t *);
 static bool bnep_mfilter(channel_t *, packet_t *);
 
-static uint8_t NAP_UUID[] = {
+static const uint8_t NAP_UUID[] = {
 	0x00, 0x00, 0x11, 0x16,
 	0x00, 0x00,
 	0x10, 0x00,
@@ -57,7 +57,7 @@
 	0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb
 };
 
-static uint8_t GN_UUID[] = {
+static const uint8_t GN_UUID[] = {
 	0x00, 0x00, 0x11, 0x17,
 	0x00, 0x00,
 	0x10, 0x00,
@@ -65,7 +65,7 @@
 	0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb,
 };
 
-static uint8_t PANU_UUID[] = {
+static const uint8_t PANU_UUID[] = {
 	0x00, 0x00, 0x11, 0x15,
 	0x00, 0x00,
 	0x10, 0x00,

Reply via email to