code style

This commit is contained in:
Nguyen Anh Quynh
2015-12-10 00:53:48 +08:00
parent 0393d339c0
commit 1b145f431b
8 changed files with 56 additions and 64 deletions

View File

@ -102,14 +102,13 @@ int main(int argc, char **argv, char **envp)
{
// dynamically load shared library
#ifdef DYNLOAD
if( !uc_dyn_load(NULL, 0) )
{
printf("Error dynamically loading shared library.\n");
printf("Please check that unicorn.dll/unicorn.so is available as well as\n");
printf("any other dependent dll/so files.\n");
printf("The easiest way is to place them in the same directory as this app.\n");
return 1;
}
if (!uc_dyn_load(NULL, 0)) {
printf("Error dynamically loading shared library.\n");
printf("Please check that unicorn.dll/unicorn.so is available as well as\n");
printf("any other dependent dll/so files.\n");
printf("The easiest way is to place them in the same directory as this app.\n");
return 1;
}
#endif
test_sparc();