static unsigned int nextkeyid = 0;
static unsigned int * keyids;
-static unsigned char header_magic[8] = {
+/* XXX FIXME: these are doubled here and header.c and .. */
+static unsigned char const header_magic[8] = {
0x8e, 0xad, 0xe8, 0x01, 0x00, 0x00, 0x00, 0x00
};
/**
* Alignment needs (and sizeof scalars types) for internal rpm data types.
*/
-static int typeAlign[16] = {
+static int const typeAlign[16] = {
1, /*!< RPM_NULL_TYPE */
1, /*!< RPM_CHAR_TYPE */
1, /*!< RPM_INT8_TYPE */
return res;
}
-static unsigned char header_magic[8] = {
+static unsigned char const header_magic[8] = {
0x8e, 0xad, 0xe8, 0x01, 0x00, 0x00, 0x00, 0x00
};
#include "debug.h"
-static unsigned char lead_magic[] = {
+static unsigned char const lead_magic[] = {
RPMLEAD_MAGIC0, RPMLEAD_MAGIC1, RPMLEAD_MAGIC2, RPMLEAD_MAGIC3
};
return RPMRC_OK;
}
-static unsigned char header_magic[8] = {
+/* XXX sigh yet another duplicate.. */
+static unsigned char const header_magic[8] = {
0x8e, 0xad, 0xe8, 0x01, 0x00, 0x00, 0x00, 0x00
};