Skip to content

Commit 0aa9b5d

Browse files
committed
Removed SCL_EXPRESS_EXPORT flag for EXPRESSgetopt_options[].
* Since EXPRESSgetopt_options[] is locally defined for each usage (fedex.c and fedex_main.c) it should not be exported from express lib. * This also removes 3 warnings in MSVC.
1 parent 97ef6d9 commit 0aa9b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/express/express.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ GLOBAL SCL_EXPRESS_EXPORT int ( *EXPRESSfail ) PROTO( ( Express ) ) INITIALL
114114
GLOBAL SCL_EXPRESS_EXPORT int ( *EXPRESSsucceed ) PROTO( ( Express ) ) INITIALLY( 0 );
115115
GLOBAL SCL_EXPRESS_EXPORT void ( *EXPRESSbackend ) PROTO( ( Express ) ) INITIALLY( 0 );
116116
GLOBAL SCL_EXPRESS_EXPORT char * EXPRESSprogram_name;
117-
extern SCL_EXPRESS_EXPORT char EXPRESSgetopt_options[]; /* initialized elsewhere */
117+
extern char EXPRESSgetopt_options[256]; /* initialized elsewhere */
118118
GLOBAL SCL_EXPRESS_EXPORT int ( *EXPRESSgetopt ) PROTO( ( int, char * ) ) INITIALLY( 0 );
119119
GLOBAL SCL_EXPRESS_EXPORT bool EXPRESSignore_duplicate_schemas INITIALLY( false );
120120

0 commit comments

Comments
 (0)