Remove restrict
keyword usages
This turned out to be a bug in the recent C99 support: https://connect.microsoft.com/VisualStudio/Feedback/Details/1161593 (ticket probably needs some votes to draw their attention) Since this is little to no value there for `restrict` anyway, it has been removed. Contributes to #118.
This commit is contained in:
parent
9fe47197b9
commit
fc066a710d
1 changed files with 2 additions and 2 deletions
|
@ -121,8 +121,8 @@ const char *get_status_string(struct criterion_test_stats *ts,
|
|||
* requires a dot as the decimal separator.
|
||||
* Therefore we set the locale temporarily to print dots.
|
||||
*/
|
||||
static int fprintf_locale(FILE *restrict stream,
|
||||
const char *restrict format, ...) {
|
||||
static int fprintf_locale(FILE *stream,
|
||||
const char *format, ...) {
|
||||
va_list args;
|
||||
int result;
|
||||
const char *locale = setlocale(LC_NUMERIC, NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue