From b45c27e2ab0ba5c0d3bd3385ef561943d4cc57f9 Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 8 Apr 2002 18:56:01 +0000 Subject: doxygen cleanup. CVS patchset: 5379 CVS date: 2002/04/08 18:56:01 --- rpmio/fts.h | 1 + rpmio/macro.c | 6 +++--- rpmio/rpmio_internal.h | 3 ++- rpmio/rpmmacro.h | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) (limited to 'rpmio') diff --git a/rpmio/fts.h b/rpmio/fts.h index b3ddfa1cc..e01768096 100644 --- a/rpmio/fts.h +++ b/rpmio/fts.h @@ -155,6 +155,7 @@ __BEGIN_DECLS /** * Return list of children of the current node. * @param sp file hierarchy state + * @param instr * @return file set member */ /*@unused@*/ /*@dependent@*/ diff --git a/rpmio/macro.c b/rpmio/macro.c index 1493689ef..03cf51b31 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -1022,7 +1022,7 @@ doOutput(MacroBuf mb, int waserror, const char * msg, size_t msglen) */ static void doFoo(MacroBuf mb, int negate, const char * f, size_t fn, - const char * g, size_t glen) + const char * g, size_t gn) /*@globals rpmGlobalMacroContext, fileSystem, internalState @*/ /*@modifies mb, rpmGlobalMacroContext, @@ -1033,8 +1033,8 @@ doFoo(MacroBuf mb, int negate, const char * f, size_t fn, buf[0] = '\0'; if (g) { - strncpy(buf, g, glen); - buf[glen] = '\0'; + strncpy(buf, g, gn); + buf[gn] = '\0'; (void) expandU(mb, buf, sizeof(buf)); } if (STREQ("basename", f, fn)) { diff --git a/rpmio/rpmio_internal.h b/rpmio/rpmio_internal.h index 28eb4036f..f3da01017 100644 --- a/rpmio/rpmio_internal.h +++ b/rpmio/rpmio_internal.h @@ -62,7 +62,7 @@ typedef struct _FDDIGEST_s { /** \ingroup rpmio * Duplicate a digest context. - * @param ctx existing digest context + * @param octx existing digest context * @return duplicated digest context */ /*@only@*/ @@ -72,6 +72,7 @@ DIGEST_CTX rpmDigestDup(DIGEST_CTX octx) /** \ingroup rpmio * Initialize digest. * Set bit count to 0 and buffer to mysterious initialization constants. + * @param hashalgo type of digest * @param flags bit(s) to control digest operation * @return digest context */ diff --git a/rpmio/rpmmacro.h b/rpmio/rpmmacro.h index 04871739c..aa59ad45a 100644 --- a/rpmio/rpmmacro.h +++ b/rpmio/rpmmacro.h @@ -112,7 +112,7 @@ void delMacro (/*@null@*/ MacroContext mc, const char * n) /** * Define macro in context. * @param mc macro context (NULL uses global context). - * @param n macro name, options, body + * @param macro macro name, options, body * @param level macro recursion level (0 is entry API) * @return @todo Document. */ -- cgit v1.2.3