From 764955a9156accdd10206c1556583b9e892d2013 Mon Sep 17 00:00:00 2001 From: cuz Date: Sun, 11 Jul 2004 14:06:49 +0000 Subject: [PATCH] Make a few params const git-svn-id: svn://svn.cc65.org/cc65/trunk@3155 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/strbuf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/strbuf.h b/src/common/strbuf.h index 5d159cd5f..35f32266c 100644 --- a/src/common/strbuf.h +++ b/src/common/strbuf.h @@ -91,7 +91,7 @@ void FreeStrBuf (StrBuf* B); /* Free a string buffer */ #if defined(HAVE_INLINE) -INLINE unsigned SB_GetLen (StrBuf* B) +INLINE unsigned SB_GetLen (const StrBuf* B) /* Return the length of the buffer contents */ { return B->Len; @@ -101,7 +101,7 @@ INLINE unsigned SB_GetLen (StrBuf* B) #endif #if defined(HAVE_INLINE) -INLINE unsigned SB_GetIndex (StrBuf* B) +INLINE unsigned SB_GetIndex (const StrBuf* B) /* Return the user index of the string buffer */ { return B->Index; @@ -141,7 +141,7 @@ INLINE char SB_At (const StrBuf* B, unsigned Index) char SB_At (const StrBuf* B, unsigned Index); /* Get a character from the buffer */ #endif - + #if defined(HAVE_INLINE) INLINE char SB_AtUnchecked (const StrBuf* B, unsigned Index) /* Get a character from the buffer */ -- 2.39.5