OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr44831.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
typedef unsigned char UCHAR, *PUCHAR;
2
typedef void *HANDLE;
3
typedef struct _NCB {
4
    UCHAR ncb_reserve[10];
5
} NCB, *PNCB;
6
struct NBCmdQueue {
7
    PNCB head;
8
};
9
PNCB *NBCmdQueueFindNBC(struct NBCmdQueue *queue, PNCB ncb)
10
{
11
  PNCB *ret = &queue->head;
12
  while (ret && *ret != ncb)
13
    ret = (PNCB *)((*ret)->ncb_reserve + sizeof(HANDLE));
14
}
15
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.