From 9994cd3f0ffcd7b28d26c82ecb6564bc4072dc2a Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Mon, 25 Jun 2018 11:56:52 +0200 Subject: treewide: remove use of C++ style comments C++ style comment ("//") are not specified by the ISO C90 standard and thus do not conform to it. While libgit2 aims to conform to C90, we did not enforce it until now, which is why quite a lot of these non-conforming comments have snuck into our codebase. Do a tree-wide conversion of all C++ style comments to the supported C style comments to allow us enforcing strict C90 compliance in a later commit. --- tests/object/raw/write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/object/raw/write.c') diff --git a/tests/object/raw/write.c b/tests/object/raw/write.c index 273f08f2c..c7270e26a 100644 --- a/tests/object/raw/write.c +++ b/tests/object/raw/write.c @@ -16,7 +16,7 @@ void test_body(object_data *d, git_rawobj *o); -// Helpers +/* Helpers */ static void remove_object_files(object_data *d) { cl_git_pass(p_unlink(d->file)); @@ -57,7 +57,7 @@ static void make_odb_dir(void) } -// Standard test form +/* Standard test form */ void test_body(object_data *d, git_rawobj *o) { git_odb *db; -- cgit v1.2.1