From 0b7936a76bd9d943c061311f48ec2aa98eca7bff Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Thu, 19 Jul 2012 11:30:55 +0200 Subject: [PATCH] C89 comments in headers --- src/cmd_parser.h | 6 +++--- src/misc.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cmd_parser.h b/src/cmd_parser.h index d0a156c..67b0aab 100644 --- a/src/cmd_parser.h +++ b/src/cmd_parser.h @@ -30,12 +30,12 @@ */ struct CmdOptions { - // Items filled by hand (from createrepo_c.c) + /* Items filled by hand (from createrepo_c.c) */ char *input_dir; /*!< Input directory (the mandatory argument of createrepo) */ - // Items filled by cmd option parser + /* Items filled by cmd option parser */ char *location_base; /*!< base URL location */ char *outputdir; /*!< output directory */ @@ -64,7 +64,7 @@ struct CmdOptions { int workers; /*!< number of threads to spawn */ gboolean xz_compression; /*!< use xz for repodata compression */ - // Items filled by check_arguments() + /* Items filled by check_arguments() */ char *groupfile_fullpath; /*!< full path to groupfile */ GSList *exclude_masks; /*!< list of exclude masks diff --git a/src/misc.h b/src/misc.h index 9200b10..d0aa68f 100644 --- a/src/misc.h +++ b/src/misc.h @@ -35,7 +35,7 @@ extern "C" { /** \ingroup misc * Macro for supress compiler warning about unused param. */ -#define UNUSED(x) (void)(x) // Suppress compiler warning about unused param +#define UNUSED(x) (void)(x) /* Suppress compiler warning about unused param */ /** \ingroup misc * Convert flags from RPM header to a string representation. -- 2.7.4