Skip to content

Commit

Permalink
Fixed build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-jonsson committed Jun 18, 2024
1 parent 7f334d6 commit d27b803
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/vxt/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ VXT_API vxt_error _vxt_system_initialize(CONSTP(vxt_system) s, unsigned reg_size
}

TEST(system_initialize,
CONSTP(vxt_system) sp = vxt_system_create(TALLOC, VXT_CPU_8088, VXT_DEFAULT_FREQUENCY, NULL);
CONSTP(vxt_system) sp = vxt_system_create(TALLOC, VXT_DEFAULT_FREQUENCY, NULL);
TENSURE(sp);
TENSURE_NO_ERR(vxt_system_initialize(sp));
vxt_system_destroy(sp);
Expand Down
10 changes: 5 additions & 5 deletions tools/docopt/docopt_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
#include <sys/limits.h>
#elif defined(__FreeBSD__) || defined(__NetBSD__)
|| defined(__OpenBSD__) || defined(__bsdi__)
|| defined(__DragonFly__) || defined(macintosh)
#elif defined(__FreeBSD__) || defined(__NetBSD__) \
|| defined(__OpenBSD__) || defined(__bsdi__) \
|| defined(__DragonFly__) || defined(macintosh) \
|| defined(__APPLE__) || defined(__APPLE_CC__)
#include <sys/syslimits.h>
Expand Down Expand Up @@ -413,13 +413,13 @@
elements.commands = commands;
elements.arguments = arguments;
elements.options = options;
/*
if (argc == 1) {
argv[argc++] = "--help";
argv[argc++] = NULL;
return_code = EXIT_FAILURE;
}
*/
{
struct Tokens ts = tokens_new(argc, argv);
if (parse_args(&ts, &elements))
Expand Down
2 changes: 1 addition & 1 deletion tools/tests/8088v1/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
NULL
}};
vxt_system *s = vxt_system_create(&TALLOC, VXT_CPU_8088, VXT_DEFAULT_FREQUENCY, devices);
vxt_system *s = vxt_system_create(&TALLOC, VXT_DEFAULT_FREQUENCY, devices);
TENSURE(s);
TENSURE_NO_ERR(vxt_system_initialize(s));
Expand Down

0 comments on commit d27b803

Please sign in to comment.