| author | Pavel Roskin <proski@gnu.org> | |
| Mon, 10 Jul 2006 06:57:51 +0000 (02:57 -0400) | ||
| committer | Junio C Hamano <junkio@cox.net> | |
| Mon, 10 Jul 2006 07:47:13 +0000 (00:47 -0700) | ||
| commit | a9486b02ec7e03d17317fe538b0d06ca04379f23 | |
| tree | b5b4ac5d1caba95de4f2571b46ac600f43b48fce | tree | snapshot |
| parent | 82e5a82fd73edb80a841f5fab1660e14b9b8f3ad | commit | diff |
Avoid C99 comments, use old-style C comments instead.
This doesn't make the code uglier or harder to read, yet it makes the
code more portable. This also simplifies checking for other potential
incompatibilities. "gcc -std=c89 -pedantic" can flag many incompatible
constructs as warnings, but C99 comments will cause it to emit an error.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This doesn't make the code uglier or harder to read, yet it makes the
code more portable. This also simplifies checking for other potential
incompatibilities. "gcc -std=c89 -pedantic" can flag many incompatible
constructs as warnings, but C99 comments will cause it to emit an error.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
| blame.c | diff | blob | history | |
| builtin-apply.c | diff | blob | history | |
| builtin-push.c | diff | blob | history | |
| convert-objects.c | diff | blob | history | |
| dir.c | diff | blob | history | |
| http-fetch.c | diff | blob | history | |
| mktag.c | diff | blob | history | |
| read-cache.c | diff | blob | history | |
| sha1_file.c | diff | blob | history | |
| ssh-fetch.c | diff | blob | history |