-extern FIELD *new_field(int,int,int,int,int,int),
- *dup_field(FIELD *,int,int),
- *link_field(FIELD *,int,int);
-
-extern int free_field(FIELD *),
- field_info(const FIELD *,int *,int *,int *,int *,int *,int *),
- dynamic_field_info(const FIELD *,int *,int *,int *),
- set_max_field( FIELD *,int),
- move_field(FIELD *,int,int),
- set_field_type(FIELD *,FIELDTYPE *,...),
- set_new_page(FIELD *,bool),
- set_field_just(FIELD *,int),
- field_just(const FIELD *),
- set_field_fore(FIELD *,chtype),
- set_field_back(FIELD *,chtype),
- set_field_pad(FIELD *,int),
- field_pad(const FIELD *),
- set_field_buffer(FIELD *,int,const char *),
- set_field_status(FIELD *,bool),
- set_field_userptr(FIELD *, void *),
- set_field_opts(FIELD *,Field_Options),
- field_opts_on(FIELD *,Field_Options),
- field_opts_off(FIELD *,Field_Options);
-
-extern chtype field_fore(const FIELD *),
- field_back(const FIELD *);
-
-extern bool new_page(const FIELD *),
- field_status(const FIELD *);
-
-extern void *field_arg(const FIELD *);
-
-extern void *field_userptr(const FIELD *);
-
-extern FIELDTYPE
- *field_type(const FIELD *);
-
-extern char* field_buffer(const FIELD *,int);
-
-extern Field_Options
- field_opts(const FIELD *);
+extern NCURSES_EXPORT(FIELD *) new_field (int,int,int,int,int,int);
+extern NCURSES_EXPORT(FIELD *) dup_field (FIELD *,int,int);
+extern NCURSES_EXPORT(FIELD *) link_field (FIELD *,int,int);
+
+extern NCURSES_EXPORT(int) free_field (FIELD *);
+extern NCURSES_EXPORT(int) field_info (const FIELD *,int *,int *,int *,int *,int *,int *);
+extern NCURSES_EXPORT(int) dynamic_field_info (const FIELD *,int *,int *,int *);
+extern NCURSES_EXPORT(int) set_max_field ( FIELD *,int);
+extern NCURSES_EXPORT(int) move_field (FIELD *,int,int);
+extern NCURSES_EXPORT(int) set_field_type (FIELD *,FIELDTYPE *,...);
+extern NCURSES_EXPORT(int) set_new_page (FIELD *,bool);
+extern NCURSES_EXPORT(int) set_field_just (FIELD *,int);
+extern NCURSES_EXPORT(int) field_just (const FIELD *);
+extern NCURSES_EXPORT(int) set_field_fore (FIELD *,chtype);
+extern NCURSES_EXPORT(int) set_field_back (FIELD *,chtype);
+extern NCURSES_EXPORT(int) set_field_pad (FIELD *,int);
+extern NCURSES_EXPORT(int) field_pad (const FIELD *);
+extern NCURSES_EXPORT(int) set_field_buffer (FIELD *,int,const char *);
+extern NCURSES_EXPORT(int) set_field_status (FIELD *,bool);
+extern NCURSES_EXPORT(int) set_field_userptr (FIELD *, void *);
+extern NCURSES_EXPORT(int) set_field_opts (FIELD *,Field_Options);
+extern NCURSES_EXPORT(int) field_opts_on (FIELD *,Field_Options);
+extern NCURSES_EXPORT(int) field_opts_off (FIELD *,Field_Options);
+
+extern NCURSES_EXPORT(chtype) field_fore (const FIELD *);
+extern NCURSES_EXPORT(chtype) field_back (const FIELD *);
+
+extern NCURSES_EXPORT(bool) new_page (const FIELD *);
+extern NCURSES_EXPORT(bool) field_status (const FIELD *);
+
+extern NCURSES_EXPORT(void *) field_arg (const FIELD *);
+
+extern NCURSES_EXPORT(void *) field_userptr (const FIELD *);
+
+extern NCURSES_EXPORT(FIELDTYPE *) field_type (const FIELD *);
+
+extern NCURSES_EXPORT(char *) field_buffer (const FIELD *,int);
+
+extern NCURSES_EXPORT(Field_Options) field_opts (const FIELD *);