Commit 7a2421ef authored by Jens Gustedt's avatar Jens Gustedt
Browse files

remove some superflouous const attributes

parent a7bac330
...@@ -286,7 +286,6 @@ void p99_report_handler(const char * restrict p00_msg, ...@@ -286,7 +286,6 @@ void p99_report_handler(const char * restrict p00_msg,
p00_constraint_report(p00_err, 0, 0, p00_msg); p00_constraint_report(p00_err, 0, 0, p00_msg);
} }
P99_CONST_FUNCTION
p99_inline p99_inline
void p99_ignore_handler(const char * restrict p00_msg, void p99_ignore_handler(const char * restrict p00_msg,
void * restrict p00_ptr, void * restrict p00_ptr,
...@@ -367,7 +366,6 @@ void p99_constraint_handler(const char * restrict p00_msg, ...@@ -367,7 +366,6 @@ void p99_constraint_handler(const char * restrict p00_msg,
# ifndef __STDC_LIB_EXT1__ # ifndef __STDC_LIB_EXT1__
P99_WEAK(ignore_handler_s) P99_WEAK(ignore_handler_s)
P99_CONST_FUNCTION
void ignore_handler_s(const char * restrict p00_msg, void ignore_handler_s(const char * restrict p00_msg,
void * restrict p00_ptr, void * restrict p00_ptr,
errno_t p00_err) { errno_t p00_err) {
......
...@@ -332,7 +332,6 @@ p99_inline thrd_t* thrd_t_init(thrd_t *p00_id) { ...@@ -332,7 +332,6 @@ p99_inline thrd_t* thrd_t_init(thrd_t *p00_id) {
return p00_id; return p00_id;
} }
P99_CONST_FUNCTION
p99_inline void thrd_t_destroy(thrd_t *p00_id) { p99_inline void thrd_t_destroy(thrd_t *p00_id) {
/* special care for bogus warning given by icc */ /* special care for bogus warning given by icc */
(void)p00_id; (void)p00_id;
......
...@@ -138,7 +138,6 @@ p99_inline T* P99_PASTE2(T, _init)(T *p00_id) { \ ...@@ -138,7 +138,6 @@ p99_inline T* P99_PASTE2(T, _init)(T *p00_id) { \
return p00_id; \ return p00_id; \
} \ } \
/*! @brief destroy the object that @a p00_id points to. */ \ /*! @brief destroy the object that @a p00_id points to. */ \
P99_CONST_FUNCTION \
p99_inline void P99_PASTE2(T, _destroy)(T* p00_id) { \ p99_inline void P99_PASTE2(T, _destroy)(T* p00_id) { \
/* empty */ \ /* empty */ \
(void)p00_id; \ (void)p00_id; \
......
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