From: Antonio Borneo Date: Sun, 10 Mar 2013 11:06:10 +0000 (+0800) Subject: Uniform coding style: don't use C99 // comments X-Git-Tag: v5.00~36 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=adf6cc1afc8bf098c7d0dbf791bbc3acab324031;p=users%2Fdwmw2%2Fopenconnect.git Uniform coding style: don't use C99 // comments Signed-off-by: Antonio Borneo Signed-off-by: David Woodhouse --- diff --git a/compat.c b/compat.c index bc396f2b..315cfb3d 100644 --- a/compat.c +++ b/compat.c @@ -62,9 +62,9 @@ static int oc_vasprintf(char **strp, const char *fmt, va_list ap) __va_copy(ap2, ap); #else #error No va_copy()! - // You could try this. + /* You could try this. */ ap2 = ap; - // Or this + /* Or this */ *ap2 = *ap; #endif len = vsnprintf(res, 160, fmt, ap2);