Ich schreib mir grad ein Fifo
hier ein code ausschnitt

Code:
typedef struct {
	uint_8 *pread;
	uint_8 *pwrite;
	uint_8 top;
	uint_8 bottom;
} fifo_t;

[...]

static void inline _inline_fifo_put (fifo_t *f, const uint8_t data) {
	if(f->pread == f->top) f->pread = f->bottom;
	else f->pread++;
	
	f->pread = data;
}
und ich bekomme den Fehler

Code:
fifo.h:19: error: 'fifo_t' has no member named 'pread'
fifo.h:19: error: 'fifo_t' has no member named 'top'
fifo.h:19: error: 'fifo_t' has no member named 'pread'
fifo.h:19: error: 'fifo_t' has no member named 'bottom'
fifo.h:20: error: 'fifo_t' has no member named 'pread'
fifo.h:22: error: 'fifo_t' has no member named 'pread'
undi ch hab keine Ahnung warum...