# New Ticket Created by Aaron Crane # Please include the string: [perl #47540] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=47540 >
The attached patch adds PARROT_API to two IO-related symbols. This makes the following tests in t/src/io.t pass for me on Linux x86 with gcc 4.1.3: not ok 16 - PIO_make_offset not ok 17 - PIO_seek not ok 19 - stdio-layer This is my first Parrot patch; please let me know if I'm doing anything wrong. Files affected: src/io/io.c src/io/io_stdio.c -- Aaron Crane
Index: src/io/io.c =================================================================== --- src/io/io.c (revision 22852) +++ src/io/io.c (working copy) @@ -1334,6 +1334,7 @@ */ +PARROT_API PIOOFF_T PIO_make_offset(INTVAL offset) { Index: src/io/io_stdio.c =================================================================== --- src/io/io_stdio.c (revision 22852) +++ src/io/io_stdio.c (working copy) @@ -107,6 +107,7 @@ /* Defined at bottom */ extern const ParrotIOLayerAPI pio_stdio_layer_api; +PARROT_API ParrotIOLayer pio_stdio_layer = { NULL, "stdio",