summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/macro.c2
-rw-r--r--rpmio/rpmmacro.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index c8441eb61..2f1eb805a 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -1166,7 +1166,7 @@ initMacros(MacroContext *mc, const char *macrofile)
continue;
n++;
mb->mc = mc; /* XXX just enough to get by */
- doDefine(mb, n, RMIL_MACROFILES, 0);
+ (void)doDefine(mb, n, RMIL_MACROFILES, 0);
}
fclose(fp);
}
diff --git a/rpmio/rpmmacro.h b/rpmio/rpmmacro.h
index 02ea6f2e0..9642e556f 100644
--- a/rpmio/rpmmacro.h
+++ b/rpmio/rpmmacro.h
@@ -1,7 +1,7 @@
#ifndef _H_MACRO_
#define _H_MACRO_
-typedef struct MacroEntry {
+typedef /*@abstract@*/ struct MacroEntry {
struct MacroEntry *prev;
const char *name; /* Macro name */
const char *opts; /* Macro parameters (ala getopt) */
@@ -10,7 +10,7 @@ typedef struct MacroEntry {
int level;
} MacroEntry;
-typedef struct MacroContext {
+typedef /*@abstract@*/ struct MacroContext {
MacroEntry ** macroTable;
int macrosAllocated;
int firstFree;