ld_iscsi: use constructor attribute

This is cleaner, and libtool otherwise complains.
This commit is contained in:
Paolo Bonzini
2011-10-28 15:54:03 +02:00
parent ae5caa645f
commit d1f2f854da

View File

@@ -291,7 +291,7 @@ int dup2(int oldfd, int newfd)
}
void _init(void)
static void __attribute__((constructor)) _init(void)
{
int i;