d

Fork of RingBuffer by Yoji KURODA

Files at this revision

API Documentation at this revision

Comitter:
palmdotax
Date:
Tue Jun 07 03:14:41 2016 +0000
Parent:
2:ea6d02ba96ae
Commit message:
5555+;

Changed in this revision

RingBuffer.h Show annotated file Show diff for this revision Revisions of this file
--- a/RingBuffer.h	Thu Sep 27 13:15:54 2012 +0000
+++ b/RingBuffer.h	Tue Jun 07 03:14:41 2016 +0000
@@ -27,8 +27,8 @@
     int save(unsigned char c);
     unsigned char read(void);
     int check(void);
-    int buffersize(void){return bufsize;};
-    int full(void){ return (check()>=bufsize-1 ? 1 : 0); };
+    int buffersize(void){return bufsize;}
+    int full(void){ return (check()>=bufsize-1 ? 1 : 0); }
 };