diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-05-01 01:54:44 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-05-01 01:54:44 +0000 |
commit | 1350f93f53d8a77c0e0f9408944d24f0cfc49b2c (patch) | |
tree | 5c303d8d061a7abcc5ef00083630975006ad80c4 /sys/dev | |
parent | 385f91738486f82b07a427063967936b03d3cae6 (diff) |
Fix a typo in comment. Constify. From NetBSD.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/mulaw.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/mulaw.c b/sys/dev/mulaw.c index d442355559c..d34f0294de8 100644 --- a/sys/dev/mulaw.c +++ b/sys/dev/mulaw.c @@ -1,5 +1,5 @@ -/* $OpenBSD: mulaw.c,v 1.6 2001/05/01 01:49:48 aaron Exp $ */ -/* $NetBSD: mulaw.c,v 1.13 1999/11/01 18:12:19 augustss Exp $ */ +/* $OpenBSD: mulaw.c,v 1.7 2001/05/01 01:54:43 aaron Exp $ */ +/* $NetBSD: mulaw.c,v 1.15 2001/01/18 20:28:20 jdolecek Exp $ */ /* * Copyright (c) 1991-1993 Regents of the University of California. @@ -41,10 +41,10 @@ /* * This table converts a (8 bit) mulaw value two a 16 bit value. - * The 16 bits are represented as an array of two butes for easier access + * The 16 bits are represented as an array of two bytes for easier access * to the individual bytes. */ -static u_char mulawtolin16[256][2] = { +static const u_char mulawtolin16[256][2] = { {0x02,0x84}, {0x06,0x84}, {0x0a,0x84}, {0x0e,0x84}, {0x12,0x84}, {0x16,0x84}, {0x1a,0x84}, {0x1e,0x84}, {0x22,0x84}, {0x26,0x84}, {0x2a,0x84}, {0x2e,0x84}, @@ -111,7 +111,7 @@ static u_char mulawtolin16[256][2] = { {0x80,0x18}, {0x80,0x10}, {0x80,0x08}, {0x80,0x00}, }; -static u_char lintomulaw[256] = { +static const u_char lintomulaw[256] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, @@ -146,7 +146,7 @@ static u_char lintomulaw[256] = { 0x81, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x80, }; -static u_char alawtolin16[256][2] = { +static const u_char alawtolin16[256][2] = { {0x6a,0x80}, {0x6b,0x80}, {0x68,0x80}, {0x69,0x80}, {0x6e,0x80}, {0x6f,0x80}, {0x6c,0x80}, {0x6d,0x80}, {0x62,0x80}, {0x63,0x80}, {0x60,0x80}, {0x61,0x80}, @@ -213,7 +213,7 @@ static u_char alawtolin16[256][2] = { {0x83,0x30}, {0x83,0x10}, {0x83,0x70}, {0x83,0x50}, }; -static u_char lintoalaw[256] = { +static const u_char lintoalaw[256] = { 0x2a, 0x2a, 0x2a, 0x2a, 0x2b, 0x2b, 0x2b, 0x2b, 0x28, 0x28, 0x28, 0x28, 0x29, 0x29, 0x29, 0x29, 0x2e, 0x2e, 0x2e, 0x2e, 0x2f, 0x2f, 0x2f, 0x2f, |