diff options
| author | Patrick Steinhardt <ps@pks.im> | 2018-06-25 11:56:52 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2018-07-13 08:25:12 +0200 |
| commit | 9994cd3f0ffcd7b28d26c82ecb6564bc4072dc2a (patch) | |
| tree | f053f0a7f44be547e208d35447623617dfbd0340 /src/win32 | |
| parent | f347a441c81c4e16dd54de07c5070eca8fccd5c8 (diff) | |
| download | libgit2-9994cd3f0ffcd7b28d26c82ecb6564bc4072dc2a.tar.gz | |
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.
Diffstat (limited to 'src/win32')
| -rw-r--r-- | src/win32/posix_w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/posix_w32.c b/src/win32/posix_w32.c index f51e1e546..8617e45e9 100644 --- a/src/win32/posix_w32.c +++ b/src/win32/posix_w32.c @@ -832,7 +832,7 @@ int p_mkstemp(char *tmp_path) return -1; #endif - return p_open(tmp_path, O_RDWR | O_CREAT | O_EXCL, 0744); //-V536 + return p_open(tmp_path, O_RDWR | O_CREAT | O_EXCL, 0744); /* -V536 */ } int p_access(const char* path, mode_t mode) |
