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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr21638.c] - Blame information for rev 378

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

Line No. Rev Author Line
1 297 jeremybenn
typedef struct hashhdr {
2
 int bitmaps[32];
3
} HASHHDR;
4
 
5
static void
6
swap_header_copy(HASHHDR *srcp, HASHHDR *destp)
7
{
8
  int i;
9
  for (i = 0; i < 32; i++)
10
    ((char *)&(destp->bitmaps[i]))[0] = ((char *)&(srcp->bitmaps[i]))[1];
11
}
12
 
13
int
14
flush_meta(HASHHDR *whdrp1)
15
{
16
 HASHHDR *whdrp;
17
 HASHHDR whdr;
18
 whdrp = &whdr;
19
 swap_header_copy(whdrp1, whdrp);
20
 return (0);
21
}

powered by: WebSVN 2.1.0

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