Commit a56b0a1f authored by Cedric Roux's avatar Cedric Roux

clean liblfds (comment #pragma lines)

parent 460a1f2b
...@@ -48,7 +48,7 @@ int lfds611_freelist_new( struct lfds611_freelist_state **fs, lfds611_atom_t num ...@@ -48,7 +48,7 @@ int lfds611_freelist_new( struct lfds611_freelist_state **fs, lfds611_atom_t num
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
void lfds611_freelist_use( struct lfds611_freelist_state *fs ) void lfds611_freelist_use( struct lfds611_freelist_state *fs )
{ {
...@@ -59,7 +59,7 @@ void lfds611_freelist_use( struct lfds611_freelist_state *fs ) ...@@ -59,7 +59,7 @@ void lfds611_freelist_use( struct lfds611_freelist_state *fs )
return; return;
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
......
...@@ -41,7 +41,7 @@ void lfds611_queue_delete( struct lfds611_queue_state *qs, void (*user_data_dele ...@@ -41,7 +41,7 @@ void lfds611_queue_delete( struct lfds611_queue_state *qs, void (*user_data_dele
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
void lfds611_queue_internal_freelist_delete_function( void *user_data, void *user_state ) void lfds611_queue_internal_freelist_delete_function( void *user_data, void *user_state )
{ {
...@@ -53,5 +53,5 @@ void lfds611_queue_internal_freelist_delete_function( void *user_data, void *use ...@@ -53,5 +53,5 @@ void lfds611_queue_internal_freelist_delete_function( void *user_data, void *use
return; return;
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
...@@ -46,7 +46,7 @@ int lfds611_queue_new( struct lfds611_queue_state **qs, lfds611_atom_t number_el ...@@ -46,7 +46,7 @@ int lfds611_queue_new( struct lfds611_queue_state **qs, lfds611_atom_t number_el
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
void lfds611_queue_use( struct lfds611_queue_state *qs ) void lfds611_queue_use( struct lfds611_queue_state *qs )
{ {
...@@ -57,14 +57,14 @@ void lfds611_queue_use( struct lfds611_queue_state *qs ) ...@@ -57,14 +57,14 @@ void lfds611_queue_use( struct lfds611_queue_state *qs )
return; return;
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
int lfds611_queue_internal_freelist_init_function( void **user_data, void *user_state ) int lfds611_queue_internal_freelist_init_function( void **user_data, void *user_state )
{ {
...@@ -82,7 +82,7 @@ int lfds611_queue_internal_freelist_init_function( void **user_data, void *user_ ...@@ -82,7 +82,7 @@ int lfds611_queue_internal_freelist_init_function( void **user_data, void *user_
return( rv ); return( rv );
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
void lfds611_queue_query( struct lfds611_queue_state *qs, enum lfds611_queue_query_type query_type, void *query_input, void *query_output ) void lfds611_queue_query( struct lfds611_queue_state *qs, enum lfds611_queue_query_type query_type, void *query_input, void *query_output )
{ {
...@@ -31,7 +31,7 @@ void lfds611_queue_query( struct lfds611_queue_state *qs, enum lfds611_queue_que ...@@ -31,7 +31,7 @@ void lfds611_queue_query( struct lfds611_queue_state *qs, enum lfds611_queue_que
return; return;
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
......
...@@ -48,7 +48,7 @@ int lfds611_ringbuffer_new( struct lfds611_ringbuffer_state **rs, lfds611_atom_t ...@@ -48,7 +48,7 @@ int lfds611_ringbuffer_new( struct lfds611_ringbuffer_state **rs, lfds611_atom_t
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
void lfds611_ringbuffer_use( struct lfds611_ringbuffer_state *rs ) void lfds611_ringbuffer_use( struct lfds611_ringbuffer_state *rs )
{ {
...@@ -59,5 +59,5 @@ void lfds611_ringbuffer_use( struct lfds611_ringbuffer_state *rs ) ...@@ -59,5 +59,5 @@ void lfds611_ringbuffer_use( struct lfds611_ringbuffer_state *rs )
return; return;
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
void lfds611_ringbuffer_query( struct lfds611_ringbuffer_state *rs, enum lfds611_ringbuffer_query_type query_type, void *query_input, void *query_output ) void lfds611_ringbuffer_query( struct lfds611_ringbuffer_state *rs, enum lfds611_ringbuffer_query_type query_type, void *query_input, void *query_output )
{ {
...@@ -26,7 +26,7 @@ void lfds611_ringbuffer_query( struct lfds611_ringbuffer_state *rs, enum lfds611 ...@@ -26,7 +26,7 @@ void lfds611_ringbuffer_query( struct lfds611_ringbuffer_state *rs, enum lfds611
return; return;
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
......
...@@ -31,7 +31,7 @@ int lfds611_slist_new( struct lfds611_slist_state **ss, void (*user_data_delete_ ...@@ -31,7 +31,7 @@ int lfds611_slist_new( struct lfds611_slist_state **ss, void (*user_data_delete_
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
void lfds611_slist_use( struct lfds611_slist_state *ss ) void lfds611_slist_use( struct lfds611_slist_state *ss )
{ {
...@@ -42,7 +42,7 @@ void lfds611_slist_use( struct lfds611_slist_state *ss ) ...@@ -42,7 +42,7 @@ void lfds611_slist_use( struct lfds611_slist_state *ss )
return; return;
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
......
...@@ -51,7 +51,7 @@ void lfds611_stack_clear( struct lfds611_stack_state *ss, void (*user_data_clear ...@@ -51,7 +51,7 @@ void lfds611_stack_clear( struct lfds611_stack_state *ss, void (*user_data_clear
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
void lfds611_stack_internal_freelist_delete_function( void *user_data, void *user_state ) void lfds611_stack_internal_freelist_delete_function( void *user_data, void *user_state )
{ {
...@@ -63,5 +63,5 @@ void lfds611_stack_internal_freelist_delete_function( void *user_data, void *use ...@@ -63,5 +63,5 @@ void lfds611_stack_internal_freelist_delete_function( void *user_data, void *use
return; return;
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
...@@ -42,7 +42,7 @@ int lfds611_stack_new( struct lfds611_stack_state **ss, lfds611_atom_t number_el ...@@ -42,7 +42,7 @@ int lfds611_stack_new( struct lfds611_stack_state **ss, lfds611_atom_t number_el
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
void lfds611_stack_use( struct lfds611_stack_state *ss ) void lfds611_stack_use( struct lfds611_stack_state *ss )
{ {
...@@ -53,14 +53,14 @@ void lfds611_stack_use( struct lfds611_stack_state *ss ) ...@@ -53,14 +53,14 @@ void lfds611_stack_use( struct lfds611_stack_state *ss )
return; return;
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
/****************************************************************************/ /****************************************************************************/
#pragma warning( disable : 4100 ) //#pragma warning( disable : 4100 )
int lfds611_stack_internal_freelist_init_function( void **user_data, void *user_state ) int lfds611_stack_internal_freelist_init_function( void **user_data, void *user_state )
{ {
...@@ -78,7 +78,7 @@ int lfds611_stack_internal_freelist_init_function( void **user_data, void *user_ ...@@ -78,7 +78,7 @@ int lfds611_stack_internal_freelist_init_function( void **user_data, void *user_
return( rv ); return( rv );
} }
#pragma warning( default : 4100 ) //#pragma warning( default : 4100 )
......
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