Commit df232294 authored by Jens Gustedt's avatar Jens Gustedt
Browse files

don't declare functions with side effect as pure

parent 9a932dd3
......@@ -109,7 +109,6 @@ p00_strcat_state* p00_strcat(p00_strcat_state *restrict p00_des, char const*rest
return p00_des;
}
P99_PURE_FUNCTION
p99_inline
char* p00_strcat_terminate(p00_strcat_state *restrict p00_des) {
return p00_des->p00_buf;
......
......@@ -265,7 +265,6 @@ do { \
} while(0)
#endif
P99_PURE_FUNCTION
p99_inline
int p00_throw_call_zero(int p00_err,
errno_t p00_def,
......@@ -326,7 +325,6 @@ p00_throw_call_zero(F(__VA_ARGS__), E, p00_unwind_top, P99_STRINGIFY(__LINE__),
#define P99_THROW_CALL_NOT_ZERO(F, E, ...) \
p00_throw_call_zero(!F(__VA_ARGS__), E, p00_unwind_top, P99_STRINGIFY(__LINE__), __func__, #F ", zero return")
P99_PURE_FUNCTION
p99_inline
int p00_throw_call_thrd(int p00_err,
p00_jmp_buf0 * p00_top,
......@@ -362,7 +360,6 @@ int p00_throw_call_thrd(int p00_err,
#define P99_THROW_CALL_THRD(F, ...) \
p00_throw_call_thrd(F(__VA_ARGS__), p00_unwind_top, P99_STRINGIFY(__LINE__), __func__, #F ", no thrd_success")
P99_PURE_FUNCTION
p99_inline
int p00_throw_call_neg(int p00_neg,
errno_t p00_def,
......@@ -398,7 +395,6 @@ p00_throw_call_neg(F(__VA_ARGS__), E, p00_unwind_top, P99_STRINGIFY(__LINE__), _
**/
#define P99_THROW_CALL_NEG(F, E, ...) P00_THROW_CALL_NEG(F, E, __VA_ARGS__)
P99_PURE_FUNCTION
p99_inline
int p00_throw_call_negate(int p00_neg,
errno_t p00_def,
......@@ -440,7 +436,6 @@ p00_throw_call_negate(F(__VA_ARGS__), E, p00_unwind_top, P99_STRINGIFY(__LINE__)
**/
#define P99_THROW_CALL_NEGATE(F, E, ...) P00_THROW_CALL_NEGATE(F, E, __VA_ARGS__)
P99_PURE_FUNCTION
p99_inline
void* p00_throw_call_voidp(void* p00_p,
errno_t p00_def,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment