Skip to content

Commit

Permalink
Uniform coding style: don't use C99 // comments
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
borneoa authored and David Woodhouse committed Mar 10, 2013
1 parent 20d8199 commit adf6cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compat.c
Expand Up @@ -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);
Expand Down

0 comments on commit adf6cc1

Please sign in to comment.