aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/USBtoSerial/Lib/RingBuff.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-20 06:23:24 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-20 06:23:24 +0000
commitb408a5fe62f5ac8be551f4998a6763465a21f053 (patch)
tree13f0bd95f033472c636e91c580fae79cbdebd438 /Projects/USBtoSerial/Lib/RingBuff.h
parente73f05b8b2de5485c97a305b4a7e940bb5636f49 (diff)
downloadlufa-b408a5fe62f5ac8be551f4998a6763465a21f053.tar.gz
lufa-b408a5fe62f5ac8be551f4998a6763465a21f053.tar.bz2
lufa-b408a5fe62f5ac8be551f4998a6763465a21f053.zip
Add const qualifier to the parameters of Projects' functions where possible.
Diffstat (limited to 'Projects/USBtoSerial/Lib/RingBuff.h')
-rw-r--r--Projects/USBtoSerial/Lib/RingBuff.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Projects/USBtoSerial/Lib/RingBuff.h b/Projects/USBtoSerial/Lib/RingBuff.h
index 23288d87a..705517a7a 100644
--- a/Projects/USBtoSerial/Lib/RingBuff.h
+++ b/Projects/USBtoSerial/Lib/RingBuff.h
@@ -106,11 +106,11 @@
} RingBuff_t;
/* Function Prototypes: */
- void Buffer_Initialize(RingBuff_t* Buff);
- void Buffer_StoreElement(RingBuff_t* Buffer, RingBuff_Data_t Data);
- RingBuff_Data_t Buffer_GetElement(RingBuff_t* Buffer);
+ void Buffer_Initialize(RingBuff_t* const Buff);
+ void Buffer_StoreElement(RingBuff_t* const Buffer, RingBuff_Data_t Data);
+ RingBuff_Data_t Buffer_GetElement(RingBuff_t* const Buffer);
#if defined(BUFF_USEPEEK)
- RingBuff_Data_t Buffer_PeekElement(const RingBuff_t* Buffer);
+ RingBuff_Data_t Buffer_PeekElement(const RingBuff_t* const Buffer);
#endif
#endif