commit 754dd13bf09e1d1eceac6954580989a69bfdfd18 parent 791c82e5601a4b795056959a1726600ba0b2a16e Author: vaplv <vaplv@free.fr> Date: Fri, 25 Apr 2025 17:09:00 +0200 Delete the last line of a file when it's empty Some older versions of GCC warned if the file did not end with an empty line, but this is no longer the case. Diffstat:
87 files changed, 0 insertions(+), 87 deletions(-)
diff --git a/src/algorithm.h b/src/algorithm.h @@ -50,4 +50,3 @@ search_lower_bound } #endif /* ALGORITHM_H */ - diff --git a/src/binary_heap.h b/src/binary_heap.h @@ -242,4 +242,3 @@ exit: #undef BHEAP_NODES_FUNC__ #endif /* !BHEAP_NAME || !BHEAP_DATA */ - diff --git a/src/clock_time.h b/src/clock_time.h @@ -79,4 +79,3 @@ time_dump END_DECLS #endif /* TIME_H */ - diff --git a/src/condition.h b/src/condition.h @@ -29,4 +29,3 @@ RSYS_API void cond_signal(struct cond* cond); RSYS_API void cond_broadcast(struct cond* cond); #endif /* CONDITION_H */ - diff --git a/src/cstr.h b/src/cstr.h @@ -208,4 +208,3 @@ size_to_cstr END_DECLS #endif /* CSTR_H */ - diff --git a/src/cstr_to_list.h b/src/cstr_to_list.h @@ -96,4 +96,3 @@ error: #undef CSTR_LIST_SUFFIX #endif /* defined(CSTR_LIST_TYPE) */ - diff --git a/src/double2.h b/src/double2.h @@ -20,4 +20,3 @@ #include "real2.h" #endif /* DOUBLE2_H */ - diff --git a/src/double22.h b/src/double22.h @@ -22,4 +22,3 @@ #include "real22.h" #endif /* DOUBLE22_H */ - diff --git a/src/double3.h b/src/double3.h @@ -20,4 +20,3 @@ #include "real3.h" #endif /* DOUBLE3_H */ - diff --git a/src/double33.h b/src/double33.h @@ -22,4 +22,3 @@ #include "real33.h" #endif /* DOUBLE33_H */ - diff --git a/src/double4.h b/src/double4.h @@ -24,4 +24,3 @@ #include "realX_end.h" #endif /* DOUBLE4_H */ - diff --git a/src/double44.h b/src/double44.h @@ -23,4 +23,3 @@ #include "real44.h" #endif /* DOUBLE44_H */ - diff --git a/src/dynamic_array.h b/src/dynamic_array.h @@ -415,4 +415,3 @@ DARRAY_FUNC__(swap)(struct DARRAY_TYPE__* a, struct DARRAY_TYPE__* b) #undef DARRAY_TYPE__ #endif /* !DARRAY_NAME || !DARRAY_TYPE */ - diff --git a/src/dynamic_array_double.h b/src/dynamic_array_double.h @@ -23,4 +23,3 @@ #include "dynamic_array.h" #endif /* DYNAMIC_ARRRAY_DOUBLE_H */ - diff --git a/src/dynamic_array_float.h b/src/dynamic_array_float.h @@ -23,4 +23,3 @@ #include "dynamic_array.h" #endif /* DYNAMIC_ARRRAY_FLOAT_H */ - diff --git a/src/dynamic_array_int.h b/src/dynamic_array_int.h @@ -23,4 +23,3 @@ #include "dynamic_array.h" #endif /* DYNAMIC_ARRRAY_INT_H */ - diff --git a/src/dynamic_array_size_t.h b/src/dynamic_array_size_t.h @@ -23,4 +23,3 @@ #include "dynamic_array.h" #endif /* DYNAMIC_ARRRAY_SIZE_T_H */ - diff --git a/src/dynamic_array_str.h b/src/dynamic_array_str.h @@ -28,4 +28,3 @@ #include "dynamic_array.h" #endif /* DYNAMIC_ARRAY_STR_H */ - diff --git a/src/dynamic_array_u32.h b/src/dynamic_array_u32.h @@ -23,4 +23,3 @@ #include "dynamic_array.h" #endif /* DYNAMIC_ARRRAY_U32_H */ - diff --git a/src/dynamic_array_u64.h b/src/dynamic_array_u64.h @@ -23,4 +23,3 @@ #include "dynamic_array.h" #endif /* DYNAMIC_ARRRAY_U64_H */ - diff --git a/src/dynamic_array_uint.h b/src/dynamic_array_uint.h @@ -23,4 +23,3 @@ #include "dynamic_array.h" #endif /* DYNAMIC_ARRRAY_UINT_H */ - diff --git a/src/float2.h b/src/float2.h @@ -20,4 +20,3 @@ #include "real2.h" #endif /* FLOAT2_H */ - diff --git a/src/float22.h b/src/float22.h @@ -22,4 +22,3 @@ #include "real22.h" #endif /* FLOAT22_H */ - diff --git a/src/float3.h b/src/float3.h @@ -20,4 +20,3 @@ #include "real3.h" #endif /* FLOAT3_H */ - diff --git a/src/float33.h b/src/float33.h @@ -22,4 +22,3 @@ #include "real33.h" #endif /* FLOAT33_H */ - diff --git a/src/float4.h b/src/float4.h @@ -24,4 +24,3 @@ #include "realX_end.h" #endif /* FLOAT4_H */ - diff --git a/src/float44.h b/src/float44.h @@ -23,4 +23,3 @@ #include "real44.h" #endif /* FLOAT44_H */ - diff --git a/src/free_list.h b/src/free_list.h @@ -226,4 +226,3 @@ FLIST_FUNC__(is_empty)(struct FLIST_TYPE__* list) #undef FITEM_TYPE #endif /* ifdef FITEM_TYPE */ - diff --git a/src/hash.c b/src/hash.c @@ -288,4 +288,3 @@ hash256_eq(const hash256_T hash0, const hash256_T hash1) { return memcmp(hash0, hash1, sizeof(hash256_T)) == 0; } - diff --git a/src/hash.h b/src/hash.h @@ -117,4 +117,3 @@ hash256_eq END_DECLS #endif /* HASH_H */ - diff --git a/src/hash_table.h b/src/hash_table.h @@ -707,4 +707,3 @@ HTABLE_FUNC__(iterator_data_get)(const struct HTABLE_ITERATOR__* it) #undef HTABLE_DATA_FUNC__ #endif /* !HTABLE_NAME || !HTABLE_KEY || !HTABLE_DATA */ - diff --git a/src/library.c b/src/library.c @@ -78,4 +78,3 @@ library_close(void* handle) return RES_OK; } #endif /* OS_<XXX> */ - diff --git a/src/library.h b/src/library.h @@ -36,4 +36,3 @@ library_close END_DECLS #endif /* LIBRARY_H */ - diff --git a/src/list.h b/src/list.h @@ -139,4 +139,3 @@ list_move_tail(struct list_node* node, struct list_node* list) } #endif /* LIST_H */ - diff --git a/src/logger.c b/src/logger.c @@ -82,4 +82,3 @@ logger_vprint (darray_char_cdata_get(&logger->buffer), logger->streams[type].ctx); return RES_OK; } - diff --git a/src/logger.h b/src/logger.h @@ -140,4 +140,3 @@ logger_vprint END_DECLS #endif /* LOGGER_H */ - diff --git a/src/mem_allocator.h b/src/mem_allocator.h @@ -157,4 +157,3 @@ mem_shutdown_lifo_allocator END_DECLS #endif /* MEM_ALLOCATOR_H */ - diff --git a/src/mem_proxy_allocator.c b/src/mem_proxy_allocator.c @@ -315,4 +315,3 @@ mem_shutdown_proxy_allocator(struct mem_allocator* proxy) } memset(proxy, 0, sizeof(struct mem_allocator)); } - diff --git a/src/morton.h b/src/morton.h @@ -101,4 +101,3 @@ morton_xyz_decode_u21(const uint64_t code, uint32_t xyz[3]) } #endif /* MORTON_H */ - diff --git a/src/mutex.h b/src/mutex.h @@ -36,4 +36,3 @@ RSYS_API void mutex_rw_unlock(struct mutex_rw* mutex); END_DECLS #endif /* MUTEX_H */ - diff --git a/src/pthread/pthread_condition.c b/src/pthread/pthread_condition.c @@ -62,4 +62,3 @@ cond_broadcast(struct cond* cond) } #undef PTHREAD - diff --git a/src/pthread/pthread_mutex.c b/src/pthread/pthread_mutex.c @@ -100,4 +100,3 @@ mutex_rw_unlock(struct mutex_rw* mutex) } #undef PTHREAD - diff --git a/src/quaternion.c b/src/quaternion.c @@ -74,4 +74,3 @@ quat_to_f33(float mat33[9], const float quat[4]) return mat33; } - diff --git a/src/quaternion.h b/src/quaternion.h @@ -91,4 +91,3 @@ quat_to_f33 const float quat[4]); #endif /* QUATERNION_H */ - diff --git a/src/real2.h b/src/real2.h @@ -30,4 +30,3 @@ REALX_FUNC__(cross)(const REAL_TYPE__ a[2], const REAL_TYPE__ b[2]) } #include "realX_end.h" - diff --git a/src/real22.h b/src/real22.h @@ -84,4 +84,3 @@ REALXY_FUNC__(rotation) } #include "realXY_end.h" - diff --git a/src/real3.h b/src/real3.h @@ -37,4 +37,3 @@ REALX_FUNC__(cross) } #include "realX_end.h" - diff --git a/src/real33.h b/src/real33.h @@ -191,4 +191,3 @@ REALXY_FUNC__(basis)(REAL_TYPE__ dst[9], const REAL_TYPE__ N[3]) } #include "realXY_end.h" - diff --git a/src/real44.h b/src/real44.h @@ -155,4 +155,3 @@ REALXY_FUNC__(invtrans)(REAL_TYPE__* dst, const REAL_TYPE__* mat) #undef REAL33_FUNC__ #include "realXY_end.h" - diff --git a/src/realXY_begin.h b/src/realXY_begin.h @@ -76,4 +76,3 @@ STATIC_ASSERT (REALX_DIMENSION__ > 1 && REALY_DIMENSION__ > 1, Unexpected_value); #include "realX_begin.h" - diff --git a/src/realXY_end.h b/src/realXY_end.h @@ -31,4 +31,3 @@ #undef REALXY_BEGIN_H #include "realX_end.h" - diff --git a/src/realX_begin.h b/src/realX_begin.h @@ -89,4 +89,3 @@ /* Check the validity of the vector dimension */ #include "rsys.h" STATIC_ASSERT(REALX_DIMENSION__ > 1, Unexpected_value); - diff --git a/src/realX_end.h b/src/realX_end.h @@ -39,4 +39,3 @@ #undef SIZEOF_REALX__ #undef REALX_BEGIN_H - diff --git a/src/ref_count.h b/src/ref_count.h @@ -52,4 +52,3 @@ ref_put(ref_T* ref, void (*release)(ref_T*)) } #endif /* REF_COUNT_H */ - diff --git a/src/signal.h b/src/signal.h @@ -74,4 +74,3 @@ typedef struct list_node signal_T; } (void)0 #endif /* SIGNAL_H */ - diff --git a/src/str.h b/src/str.h @@ -207,4 +207,3 @@ str_hash(const struct str* str) } #endif /* STR_H */ - diff --git a/src/test_algorithm.c b/src/test_algorithm.c @@ -125,4 +125,3 @@ main(int argc, char** argv) return 0; } - diff --git a/src/test_atomic.c b/src/test_atomic.c @@ -49,4 +49,3 @@ main(int argc, char** argv) return 0; } - diff --git a/src/test_binary_heap.c b/src/test_binary_heap.c @@ -182,4 +182,3 @@ main(int argc, char** argv) CHK(mem_allocated_size() == 0); return 0; } - diff --git a/src/test_condition.c b/src/test_condition.c @@ -182,4 +182,3 @@ main(int argc, char** argv) cond_destroy(stream.cond_fill); return 0; } - diff --git a/src/test_double2.c b/src/test_double2.c @@ -16,4 +16,3 @@ #include "double2.h" #define REAL_TYPE__ double #include "test_real2.h" - diff --git a/src/test_double22.c b/src/test_double22.c @@ -16,4 +16,3 @@ #include "double22.h" #define REAL_TYPE__ double #include "test_real22.h" - diff --git a/src/test_double3.c b/src/test_double3.c @@ -16,4 +16,3 @@ #include "double3.h" #define REAL_TYPE__ double #include "test_real3.h" - diff --git a/src/test_double33.c b/src/test_double33.c @@ -16,4 +16,3 @@ #include "double33.h" #define REAL_TYPE__ double #include "test_real33.h" - diff --git a/src/test_double4.c b/src/test_double4.c @@ -16,4 +16,3 @@ #include "double4.h" #define REAL_TYPE__ double #include "test_real4.h" - diff --git a/src/test_double44.c b/src/test_double44.c @@ -16,4 +16,3 @@ #include "double44.h" #define REAL_TYPE__ double #include "test_real44.h" - diff --git a/src/test_dynamic_array.c b/src/test_dynamic_array.c @@ -520,4 +520,3 @@ main(int argc, char** argv) CHK(mem_allocated_size() == 0); return 0; } - diff --git a/src/test_float2.c b/src/test_float2.c @@ -16,4 +16,3 @@ #include "float2.h" #define REAL_TYPE__ float #include "test_real2.h" - diff --git a/src/test_float22.c b/src/test_float22.c @@ -16,4 +16,3 @@ #include "float22.h" #define REAL_TYPE__ float #include "test_real22.h" - diff --git a/src/test_float3.c b/src/test_float3.c @@ -16,4 +16,3 @@ #include "float3.h" #define REAL_TYPE__ float #include "test_real3.h" - diff --git a/src/test_float33.c b/src/test_float33.c @@ -16,4 +16,3 @@ #include "float33.h" #define REAL_TYPE__ float #include "test_real33.h" - diff --git a/src/test_float4.c b/src/test_float4.c @@ -16,4 +16,3 @@ #include "float4.h" #define REAL_TYPE__ float #include "test_real4.h" - diff --git a/src/test_float44.c b/src/test_float44.c @@ -16,4 +16,3 @@ #include "float44.h" #define REAL_TYPE__ float #include "test_real44.h" - diff --git a/src/test_func_name.c b/src/test_func_name.c @@ -34,4 +34,3 @@ main(int argc, char** argv) foo_bar(0); return 0; } - diff --git a/src/test_hash_table.c b/src/test_hash_table.c @@ -615,4 +615,3 @@ main(int argc, char** argv) test_htbl_str_darray(); return 0; } - diff --git a/src/test_list.c b/src/test_list.c @@ -209,4 +209,3 @@ main(int argc, char** argv) return 0; } - diff --git a/src/test_logger.c b/src/test_logger.c @@ -227,4 +227,3 @@ ENCCRY QBJA GB GUR FHESNPR BS URYY.\n\n", CHK(mem_allocated_size() == 0); return 0; } - diff --git a/src/test_math.c b/src/test_math.c @@ -133,4 +133,3 @@ main(int argc, char** argv) return 0; } - diff --git a/src/test_mem_allocator.c b/src/test_mem_allocator.c @@ -195,4 +195,3 @@ main(int argc, char** argv) return 0; } - diff --git a/src/test_mutex.c b/src/test_mutex.c @@ -240,4 +240,3 @@ main(int argc, char** argv) test_mutex(); return 0; } - diff --git a/src/test_real2.h b/src/test_real2.h @@ -112,4 +112,3 @@ main(int argc, char** argv) CHECK_REAL2(dst, REALX_CTOR__(c, -3.0, -2.0)); return 0; } - diff --git a/src/test_real3.h b/src/test_real3.h @@ -125,4 +125,3 @@ main(int argc, char** argv) CHECK_REAL3(dst, REALX_CTOR__(c, -3.0, -2.0, -1.5)); return 0; } - diff --git a/src/test_real33.h b/src/test_real33.h @@ -228,4 +228,3 @@ main(int argc, char** argv) return 0; } - diff --git a/src/test_real4.h b/src/test_real4.h @@ -127,4 +127,3 @@ main(int argc, char** argv) CHECK_REAL4(dst, REALX_CTOR__(c, -1.0, 3.0, (REAL)-2.1, (REAL)0.1)); return 0; } - diff --git a/src/test_signal.c b/src/test_signal.c @@ -172,4 +172,3 @@ main(int argc, char** argv) return 0; } - diff --git a/src/test_text_reader.c b/src/test_text_reader.c @@ -142,4 +142,3 @@ main(int argc, char** argv) CHK(mem_allocated_size() == 0); return 0; } - diff --git a/src/test_utils.h b/src/test_utils.h @@ -16,4 +16,3 @@ check_memory_allocator(struct mem_allocator* allocator) } #endif /* TEST_UTILS_H */ -