From a23b29ea4c1bd9d0407b2b070eb2dc9ad15e71cc Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 19 Feb 2024 12:54:06 +0100 Subject: build: Fix missing newlines at end of file Some files had a newline at the end, others didn't. Now they all do. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- .gitignore | 2 +- LICENSE-LGPL | 2 +- appveyor.yml | 2 +- include/ouroboros/crypt.h | 2 +- include/ouroboros/flow.h | 2 +- include/ouroboros/name.h | 2 +- include/ouroboros/proc.h | 2 +- include/ouroboros/serdes-oep.h | 2 +- include/ouroboros/test.h | 2 +- ouroboros.service.in | 2 +- src/ipcpd/unicast/dir/dht.proto | 2 +- src/irmd/irmd.h | 2 +- src/irmd/reg/CMakeLists.txt | 2 +- src/irmd/reg/proc.c | 2 +- src/irmd/reg/prog.c | 2 +- src/irmd/reg/tests/flow_test.c | 2 +- src/irmd/reg/tests/ipcp_test.c | 2 +- src/irmd/reg/tests/name_test.c | 2 +- src/irmd/reg/tests/prog_test.c | 2 +- src/irmd/reg/tests/reg_test.c | 2 +- src/lib/.gitignore | 2 +- src/lib/pb/cacep.proto | 2 +- src/lib/serdes-oep.c | 2 +- src/lib/tests/hash_test.c | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index ce18e761..43f47a46 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ *~ *# -build/ \ No newline at end of file +build/ diff --git a/LICENSE-LGPL b/LICENSE-LGPL index a618b2b0..d4634f46 100644 --- a/LICENSE-LGPL +++ b/LICENSE-LGPL @@ -341,4 +341,4 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS \ No newline at end of file + END OF TERMS AND CONDITIONS diff --git a/appveyor.yml b/appveyor.yml index a1cc2023..7fd11335 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -31,4 +31,4 @@ build_script: - make test_script: - - make check \ No newline at end of file + - make check diff --git a/include/ouroboros/crypt.h b/include/ouroboros/crypt.h index f0521c5a..28fe63b2 100644 --- a/include/ouroboros/crypt.h +++ b/include/ouroboros/crypt.h @@ -53,4 +53,4 @@ int crypt_init(struct crypt_info * info); void crypt_fini(struct crypt_info * info); -#endif /* OUROBOROS_LIB_CRYPT_H */ \ No newline at end of file +#endif /* OUROBOROS_LIB_CRYPT_H */ diff --git a/include/ouroboros/flow.h b/include/ouroboros/flow.h index e10e987c..e6bf8886 100644 --- a/include/ouroboros/flow.h +++ b/include/ouroboros/flow.h @@ -51,4 +51,4 @@ struct flow_info { enum flow_state state; }; -#endif /* OUROBOROS_LIB_FLOW_H */ \ No newline at end of file +#endif /* OUROBOROS_LIB_FLOW_H */ diff --git a/include/ouroboros/name.h b/include/ouroboros/name.h index 0f71e63d..9d77a90b 100644 --- a/include/ouroboros/name.h +++ b/include/ouroboros/name.h @@ -37,4 +37,4 @@ struct name_info { enum pol_balance pol_lb; }; -#endif /* OUROBOROS_NAME_H */ \ No newline at end of file +#endif /* OUROBOROS_NAME_H */ diff --git a/include/ouroboros/proc.h b/include/ouroboros/proc.h index d0b010bb..80c67227 100644 --- a/include/ouroboros/proc.h +++ b/include/ouroboros/proc.h @@ -41,4 +41,4 @@ struct prog_info { char path[PROG_PATH_SIZE + 1]; }; -#endif /* OUROBOROS_LIB_PROC_H */ \ No newline at end of file +#endif /* OUROBOROS_LIB_PROC_H */ diff --git a/include/ouroboros/serdes-oep.h b/include/ouroboros/serdes-oep.h index 54a8f009..69ba71a4 100644 --- a/include/ouroboros/serdes-oep.h +++ b/include/ouroboros/serdes-oep.h @@ -67,4 +67,4 @@ ssize_t enroll_ack_ser(const struct enroll_ack * ack, int enroll_ack_des(struct enroll_ack * ack, const buffer_t buf); -#endif /* OUROBOROS_LIB_SERDES_OEP_H*/ \ No newline at end of file +#endif /* OUROBOROS_LIB_SERDES_OEP_H*/ diff --git a/include/ouroboros/test.h b/include/ouroboros/test.h index 56c92137..6e32579f 100644 --- a/include/ouroboros/test.h +++ b/include/ouroboros/test.h @@ -76,4 +76,4 @@ static int __attribute__((unused)) test_assert_fail(int(* testfunc)(void)) return -1; } -#endif /* OUROBOROS_LIB_TEST_H */ \ No newline at end of file +#endif /* OUROBOROS_LIB_TEST_H */ diff --git a/ouroboros.service.in b/ouroboros.service.in index 5db996e1..2aa05ba2 100644 --- a/ouroboros.service.in +++ b/ouroboros.service.in @@ -6,4 +6,4 @@ ExecStart=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_SBINDIR@/irmd @CONFIGURE_STRING@ User=root [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target diff --git a/src/ipcpd/unicast/dir/dht.proto b/src/ipcpd/unicast/dir/dht.proto index bf58dc2e..4c5b06db 100644 --- a/src/ipcpd/unicast/dir/dht.proto +++ b/src/ipcpd/unicast/dir/dht.proto @@ -42,4 +42,4 @@ message dht_msg { optional uint32 t_expire = 11; optional uint32 t_refresh = 12; optional uint32 t_replicate = 13; -} \ No newline at end of file +} diff --git a/src/irmd/irmd.h b/src/irmd/irmd.h index 6db8b5bd..cf8f6953 100644 --- a/src/irmd/irmd.h +++ b/src/irmd/irmd.h @@ -51,4 +51,4 @@ int bind_program(char ** exec, const char * name, uint8_t flags); -#endif /* OUROBOROS_IRMD_H*/ \ No newline at end of file +#endif /* OUROBOROS_IRMD_H*/ diff --git a/src/irmd/reg/CMakeLists.txt b/src/irmd/reg/CMakeLists.txt index 64fc3bee..ff9d2e99 100644 --- a/src/irmd/reg/CMakeLists.txt +++ b/src/irmd/reg/CMakeLists.txt @@ -4,4 +4,4 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) include_directories(${CMAKE_SOURCE_DIR}/include) include_directories(${CMAKE_BINARY_DIR}/include) -add_subdirectory(tests) \ No newline at end of file +add_subdirectory(tests) diff --git a/src/irmd/reg/proc.c b/src/irmd/reg/proc.c index 24d10fc1..9bbdf0eb 100644 --- a/src/irmd/reg/proc.c +++ b/src/irmd/reg/proc.c @@ -180,4 +180,4 @@ bool reg_proc_has_name(const struct reg_proc * proc, const char * name) { return __reg_proc_get_name(proc, name) != NULL; -} \ No newline at end of file +} diff --git a/src/irmd/reg/prog.c b/src/irmd/reg/prog.c index 5429774a..9b9e7510 100644 --- a/src/irmd/reg/prog.c +++ b/src/irmd/reg/prog.c @@ -171,4 +171,4 @@ bool reg_prog_has_name(const struct reg_prog * prog, const char * name) { return __reg_prog_get_name(prog, name) != NULL; -} \ No newline at end of file +} diff --git a/src/irmd/reg/tests/flow_test.c b/src/irmd/reg/tests/flow_test.c index efdf21d2..f9d23fd1 100644 --- a/src/irmd/reg/tests/flow_test.c +++ b/src/irmd/reg/tests/flow_test.c @@ -291,4 +291,4 @@ int flow_test(int argc, ret |= test_flow_data(); return ret; -} \ No newline at end of file +} diff --git a/src/irmd/reg/tests/ipcp_test.c b/src/irmd/reg/tests/ipcp_test.c index 4e0a764b..fb8ba71b 100644 --- a/src/irmd/reg/tests/ipcp_test.c +++ b/src/irmd/reg/tests/ipcp_test.c @@ -86,4 +86,4 @@ int ipcp_test(int argc, res |= test_reg_ipcp_create(); return res; -} \ No newline at end of file +} diff --git a/src/irmd/reg/tests/name_test.c b/src/irmd/reg/tests/name_test.c index e2ceb0fc..48f132e9 100644 --- a/src/irmd/reg/tests/name_test.c +++ b/src/irmd/reg/tests/name_test.c @@ -280,4 +280,4 @@ int name_test(int argc, res |= test_reg_name_add_active(LB_SPILL); return res; -} \ No newline at end of file +} diff --git a/src/irmd/reg/tests/prog_test.c b/src/irmd/reg/tests/prog_test.c index 2565204b..5e6931d8 100644 --- a/src/irmd/reg/tests/prog_test.c +++ b/src/irmd/reg/tests/prog_test.c @@ -102,4 +102,4 @@ int prog_test(int argc, ret |= test_reg_prog_add_name(); return ret; -} \ No newline at end of file +} diff --git a/src/irmd/reg/tests/reg_test.c b/src/irmd/reg/tests/reg_test.c index 35290caf..f840a3e0 100644 --- a/src/irmd/reg/tests/reg_test.c +++ b/src/irmd/reg/tests/reg_test.c @@ -1580,4 +1580,4 @@ int reg_test(int argc, ret |= test_wait_proc(); return ret; -} \ No newline at end of file +} diff --git a/src/lib/.gitignore b/src/lib/.gitignore index 8704469b..3ecaf66d 100644 --- a/src/lib/.gitignore +++ b/src/lib/.gitignore @@ -1 +1 @@ -*.pb-c.[ch] \ No newline at end of file +*.pb-c.[ch] diff --git a/src/lib/pb/cacep.proto b/src/lib/pb/cacep.proto index fbec5bfc..166e261d 100644 --- a/src/lib/pb/cacep.proto +++ b/src/lib/pb/cacep.proto @@ -36,4 +36,4 @@ message cacep_msg { repeated int32 supp_syntax = 6; optional fixed_conc_syntax_msg syntax_spec = 7; required uint64 address = 8; -} \ No newline at end of file +} diff --git a/src/lib/serdes-oep.c b/src/lib/serdes-oep.c index 5c1b4afc..f92011c5 100644 --- a/src/lib/serdes-oep.c +++ b/src/lib/serdes-oep.c @@ -159,4 +159,4 @@ int enroll_ack_des(struct enroll_ack * ack, enroll_ack_msg__free_unpacked(msg, NULL); return 0; -} \ No newline at end of file +} diff --git a/src/lib/tests/hash_test.c b/src/lib/tests/hash_test.c index b1605444..1e618e48 100644 --- a/src/lib/tests/hash_test.c +++ b/src/lib/tests/hash_test.c @@ -179,4 +179,4 @@ int hash_test(int argc, ret |= test_sha3(); return ret; -} \ No newline at end of file +} -- cgit v1.2.3