Skip to content

Commit

Permalink
Remove DllExport specifier from Linux code
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Mar 19, 2015
1 parent b6d2a11 commit a623a4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modelica_DeviceDrivers/Resources/Include/MDDJoystick.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ typedef struct {
char deviceName[80];
} MDDJoystick;

DllExport void* MDD_joystickConstructor(int iJSID) {
void* MDD_joystickConstructor(int iJSID) {
MDDJoystick* js = (MDDJoystick*) calloc(sizeof(MDDJoystick), 1);
if (js) {
js->fd = open("/dev/input/js0", O_RDONLY);
Expand Down Expand Up @@ -163,7 +163,7 @@ DllExport void* MDD_joystickConstructor(int iJSID) {
return (void*) js;
}

DllExport void MDD_joystickDestructor(void* jsObj) {
void MDD_joystickDestructor(void* jsObj) {
MDDJoystick* js = (MDDJoystick*) jsObj;
if (js) {
free(js->axis);
Expand Down

0 comments on commit a623a4f

Please sign in to comment.