Mercurial > dropbear
comparison circbuffer.h @ 1036:deed0571cacc
DROPBEAR_ prefix for include guards to avoid collisions
author | Thorsten Horstmann <thorsten.horstmann@web.de> |
---|---|
date | Tue, 24 Feb 2015 20:43:01 +0800 |
parents | 10f4d3319780 |
children | c71df09bc610 |
comparison
equal
deleted
inserted
replaced
1022:4121ca987e6a | 1036:deed0571cacc |
---|---|
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
23 * SOFTWARE. */ | 23 * SOFTWARE. */ |
24 | 24 |
25 #ifndef _CIRCBUFFER_H_ | 25 #ifndef DROPBEAR_CIRCBUFFER_H_ |
26 #define _CIRCBUFFER_H_ | 26 #define DROPBEAR_CIRCBUFFER_H_ |
27 struct circbuf { | 27 struct circbuf { |
28 | 28 |
29 unsigned int size; | 29 unsigned int size; |
30 unsigned int readpos; | 30 unsigned int readpos; |
31 unsigned int writepos; | 31 unsigned int writepos; |