forked from MaJerle/lwrb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
*/ | ||
|
||
/* | ||
* Copyright (c) 2019 Tilen Majerle | ||
* Copyright (c) 2019 Tilen MAJERLE | ||
* | ||
* Permission is hereby granted, free of charge, to any person | ||
* obtaining a copy of this software and associated documentation | ||
|
@@ -29,7 +29,7 @@ | |
* This file is part of ring buffer library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.1 | ||
* Version: v1.1.0 | ||
*/ | ||
#ifndef RINGBUFF_HDR_H | ||
#define RINGBUFF_HDR_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
*/ | ||
|
||
/* | ||
* Copyright (c) 2019 Tilen Majerle | ||
* Copyright (c) 2019 Tilen MAJERLE | ||
* | ||
* Permission is hereby granted, free of charge, to any person | ||
* obtaining a copy of this software and associated documentation | ||
|
@@ -29,7 +29,7 @@ | |
* This file is part of ring buffer library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.1 | ||
* Version: v1.1.0 | ||
*/ | ||
#include "ringbuff/ringbuff.h" | ||
|
||
|
@@ -388,7 +388,7 @@ BUF_PREF(buff_get_linear_block_write_length)(BUF_PREF(buff_t)* buff) { | |
* - If r is not 0, statement does not get called | ||
* - buff->size cannot be 0 and if r is 0, len is greater 0 | ||
*/ | ||
len--; | ||
--len; | ||
} | ||
} else { | ||
len = r - w - 1; | ||
|