constify
This commit is contained in:
parent
174ea84839
commit
a4c63369dd
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/awk -f
|
||||
# $NetBSD: devlist2h.awk,v 1.6 1999/08/17 16:06:20 augustss Exp $
|
||||
# $NetBSD: usb/devlist2h.awk,v 1.9 2001/01/18 20:28:22 jdolecek Exp $
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Copyright (c) 1995, 1996 Christopher G. Demetriou
|
||||
@ -175,7 +175,7 @@ END {
|
||||
|
||||
printf("\n") > dfile
|
||||
|
||||
printf("struct usb_knowndev usb_knowndevs[] = {\n") > dfile
|
||||
printf("const struct usb_knowndev usb_knowndevs[] = {\n") > dfile
|
||||
for (i = 1; i <= nproducts; i++) {
|
||||
printf("\t{\n") > dfile
|
||||
printf("\t USB_VENDOR_%s, USB_PRODUCT_%s_%s,\n",
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: usb_subr.c,v 1.82 2000/12/13 04:05:14 augustss Exp $ */
|
||||
/* $NetBSD: usb_subr.c,v 1.84 2001/01/18 20:28:22 jdolecek Exp $ */
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/*
|
||||
|
@ -44,7 +44,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
struct usb_knowndev usb_knowndevs[] = {
|
||||
const struct usb_knowndev usb_knowndevs[] = {
|
||||
{
|
||||
USB_VENDOR_3COM, USB_PRODUCT_3COM_HOMECONN,
|
||||
0,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: usbdi.h,v 1.45 2000/12/13 04:05:15 augustss Exp $ */
|
||||
/* $NetBSD: usbdi.h,v 1.46 2001/01/18 20:28:23 jdolecek Exp $ */
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/*
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/awk -f
|
||||
# $NetBSD: devlist2h.awk,v 1.6 1999/08/17 16:06:20 augustss Exp $
|
||||
# $NetBSD: usb/devlist2h.awk,v 1.9 2001/01/18 20:28:22 jdolecek Exp $
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Copyright (c) 1995, 1996 Christopher G. Demetriou
|
||||
@ -175,7 +175,7 @@ END {
|
||||
|
||||
printf("\n") > dfile
|
||||
|
||||
printf("struct usb_knowndev usb_knowndevs[] = {\n") > dfile
|
||||
printf("const struct usb_knowndev usb_knowndevs[] = {\n") > dfile
|
||||
for (i = 1; i <= nproducts; i++) {
|
||||
printf("\t{\n") > dfile
|
||||
printf("\t USB_VENDOR_%s, USB_PRODUCT_%s_%s,\n",
|
||||
|
Loading…
Reference in New Issue
Block a user