Avoid "multiple definition of `mystruct'" error from `ld`: Submitted upstream at https://github.com/idris-lang/Idris-dev/issues/4914 --- a/test/ffi008/ffi008.h 1969-12-31 18:00:01.000000000 -0600 +++ a/test/ffi008/ffi008.h 2022-04-13 00:32:35.561262598 -0500 @@ -10,7 +10,7 @@ int16_t b; }; -struct test2 mystruct; +extern struct test2 mystruct; int size1(void); int size2(void); --- a/test/ffi008/ffi008.c 1969-12-31 18:00:01.000000000 -0600 +++ a/test/ffi008/ffi008.c 2022-04-13 00:32:53.145186302 -0500 @@ -11,6 +11,8 @@ return sizeof(struct test2); } +struct test2 mystruct; + void print_mystruct(void) { printf("a: %d b: %d\n", mystruct.a, mystruct.b); } h' onchange='this.form.submit();'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/machine.scm
AgeCommit message (Expand)Author
2022-02-08gnu: Fix typo....jgart
2020-07-25utils: Move <location> and '&error-location' to (guix diagnostics)....Ludovic Courtès
2020-02-09Update e-mail address for Jakob L. Kreuze....Tobias Geerinckx-Rice
2019-12-08machine: Remove unnecessary record self-referencing bindings....Ludovic Courtès
2019-12-07machine: Add provenance tracking to each machine operating system....Ludovic Courtès
2019-08-15machine: Implement 'roll-back-machine'....Jakob L. Kreuze
2019-08-06machine: Rename 'system' field....Jakob L. Kreuze
2019-07-06gnu: Add machine type for deployment specifications....Jakob L. Kreuze