summaryrefslogtreecommitdiff
path: root/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-01-16 04:35:14 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-02-27 21:09:14 +0200
commit6c52d763eb9f6887ce7d09bb3b5913c80a816674 (patch)
tree55a720439ba8dda6fc68b2f4c020c41bd749eceb /software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c
parentd29126d9147c0a40635028372b4bbd7e66e40803 (diff)
const-ify the parts of the API that deal with firmware image blobs
git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@16 537310ab-6354-42db-a3cc-247b777f7be6
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c')
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c
index 6ace376..4028658 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c
@@ -380,15 +380,15 @@ f_pszLastCharPtr Last character in the source string.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#if !SKIP_Oct6100ApiStrStr
-PUINT8 Oct6100ApiStrStr(
- IN PUINT8 f_pszSource,
- IN PUINT8 f_pszString,
- IN PUINT8 f_pszLastCharPtr )
+unsigned char const *Oct6100ApiStrStr(
+ IN unsigned char const *f_pszSource,
+ IN unsigned char const *f_pszString,
+ IN unsigned char const *f_pszLastCharPtr )
{
UINT32 ulCurrentPos;
UINT32 ulStringLength;
UINT32 ulNumMatchingCharFound = 0;
- PUINT8 pchFirstChar = NULL;
+ unsigned char const *pchFirstChar = NULL;
UINT32 ulSourceLength;
if ( f_pszLastCharPtr < f_pszSource )
@@ -453,7 +453,7 @@ f_pszString Source string to count length of.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#if !SKIP_Oct6100ApiStrLen
UINT32 Oct6100ApiStrLen(
- IN PUINT8 f_pszString )
+ IN unsigned char const *f_pszString )
{
UINT32 ulCount = 0;