OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr40676.c] - Rev 297

Compare with Previous | Blame | View Log

extern int f1();
extern int f2(void*);
extern void* f3(int);
int xmsih;
typedef unsigned short XWCHAR;
 
inline unsigned int xstrlenW( const XWCHAR *str )
{
    const XWCHAR *s = str;
    while (*s) s++;
    return s - str;
}
 
 
static int msi_dialog_register_class( void )
{
    int cls;
 
    if( !f2( &cls ) )
        return 0;
    if( !f2( &cls ) )
        return 0;
    xmsih = f1();
    if( !xmsih )
        return 0;
    return 1;
}
 
void *xmsi_dialog_create(const XWCHAR* szDialogName)
{
    msi_dialog_register_class();
    return f3(xstrlenW(szDialogName));
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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