Skip to content

Commit a623a4f

Browse files
committed
Remove DllExport specifier from Linux code
1 parent b6d2a11 commit a623a4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modelica_DeviceDrivers/Resources/Include/MDDJoystick.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ typedef struct {
134134
char deviceName[80];
135135
} MDDJoystick;
136136

137-
DllExport void* MDD_joystickConstructor(int iJSID) {
137+
void* MDD_joystickConstructor(int iJSID) {
138138
MDDJoystick* js = (MDDJoystick*) calloc(sizeof(MDDJoystick), 1);
139139
if (js) {
140140
js->fd = open("/dev/input/js0", O_RDONLY);
@@ -163,7 +163,7 @@ DllExport void* MDD_joystickConstructor(int iJSID) {
163163
return (void*) js;
164164
}
165165

166-
DllExport void MDD_joystickDestructor(void* jsObj) {
166+
void MDD_joystickDestructor(void* jsObj) {
167167
MDDJoystick* js = (MDDJoystick*) jsObj;
168168
if (js) {
169169
free(js->axis);

0 commit comments

Comments
 (0)