diff --git a/src/mms/iso_mms/server/mms_server_connection.c b/src/mms/iso_mms/server/mms_server_connection.c index 3a3196d4..fb0a4118 100644 --- a/src/mms/iso_mms/server/mms_server_connection.c +++ b/src/mms/iso_mms/server/mms_server_connection.c @@ -3,22 +3,22 @@ * * Copyright 2013-2018 Michael Zillgith * - * This file is part of libIEC61850. + * This file is part of libIEC61850. * - * libIEC61850 is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * libIEC61850 is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * libIEC61850 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * libIEC61850 is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with libIEC61850. If not, see . + * You should have received a copy of the GNU General Public License + * along with libIEC61850. If not, see . * - * See COPYING file for the complete license text. + * See COPYING file for the complete license text. * * * MMS client connection handling code for libiec61850. diff --git a/src/mms/iso_server/iso_server.c b/src/mms/iso_server/iso_server.c index 3ea83a48..65d434ec 100644 --- a/src/mms/iso_server/iso_server.c +++ b/src/mms/iso_server/iso_server.c @@ -853,6 +853,7 @@ private_IsoServer_getConnectionCounter(IsoServer self) } #if (CONFIG_MMS_THREADLESS_STACK != 1) + void IsoServer_setUserLock(IsoServer self, Semaphore userLock) { @@ -872,4 +873,5 @@ IsoServer_userUnlock(IsoServer self) if (self->userLock != NULL) Semaphore_post(self->userLock); } -#endif + +#endif /* (CONFIG_MMS_THREADLESS_STACK != 1) */