- header.c can include rpmtag.h these days
h->indexUsed -= ne;
for (j = 0; j < ne; j++, newEntry++) {
(void) headerDel(h, newEntry->info.tag);
- if (newEntry->info.tag == HEADER_BASENAMES)
- (void) headerDel(h, HEADER_OLDFILENAMES);
+ if (newEntry->info.tag == RPMTAG_BASENAMES)
+ (void) headerDel(h, RPMTAG_OLDFILENAMES);
}
/* If any duplicate entries were replaced, move new entries down. */
#define INDEX_MALLOC_SIZE 8
-/*
- * Teach header.c about legacy tags.
- */
-#define HEADER_OLDFILENAMES 1027
-#define HEADER_BASENAMES 1117
-
/** \ingroup header
* Description of tag data.
*/