summaryrefslogtreecommitdiff
path: root/Include/pgenheaders.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pgenheaders.h')
-rw-r--r--Include/pgenheaders.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pgenheaders.h b/Include/pgenheaders.h
index fecfcc1db5..77acca5132 100644
--- a/Include/pgenheaders.h
+++ b/Include/pgenheaders.h
@@ -9,9 +9,9 @@ extern "C" {
#include "Python.h"
-DL_IMPORT(void) PySys_WriteStdout(const char *format, ...)
+PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
__attribute__((format(printf, 1, 2)));
-DL_IMPORT(void) PySys_WriteStderr(const char *format, ...)
+PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
__attribute__((format(printf, 1, 2)));
#define addarc _Py_addarc