Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 154267
Collapse All | Expand All

(-)mknbi-1.4.4/nfl.c (-1 / +1 lines)
Lines 666-672 Link Here
666
	if (bhdr->b_signature != ELF_BHDR_MAGIC) {
666
	if (bhdr->b_signature != ELF_BHDR_MAGIC) {
667
		return;
667
		return;
668
	}
668
	}
669
669
	/* probably breaks nothing, but why declare unsigned char and make cast to (signed) char??? */
670
	note = ((char *)bhdr) + sizeof(*bhdr);
670
	note = ((char *)bhdr) + sizeof(*bhdr);
671
	end  = ((char *)bhdr) + bhdr->b_size;
671
	end  = ((char *)bhdr) + bhdr->b_size;
672
	while (note < end) {
672
	while (note < end) {
(-)mknbi-1.4.4/nfl.h (-1 / +4 lines)
Lines 182-188 Link Here
182
extern int auto_fill;
182
extern int auto_fill;
183
183
184
/* This variable specifies which console should be used.  */
184
/* This variable specifies which console should be used.  */
185
extern int terminal;
185
/* Decide if you want static _or_ external!
186
   gcc-4 finally starts complaining about this nonsense.
187
   (plus: no file besides nfl.c uses this header anyway...)
188
extern int terminal; */
186
189
187
#define TERMINAL_CONSOLE	(1 << 0)	/* keyboard and screen */
190
#define TERMINAL_CONSOLE	(1 << 0)	/* keyboard and screen */
188
#define TERMINAL_SERIAL		(1 << 1)	/* serial console */
191
#define TERMINAL_SERIAL		(1 << 1)	/* serial console */

Return to bug 154267