diff --git a/src/modbus-data.c b/src/modbus-data.c index 96006f7..b2fa640 100644 --- a/src/modbus-data.c +++ b/src/modbus-data.c @@ -1,19 +1,7 @@ /* * Copyright © 2010-2011 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1+ */ #include diff --git a/src/modbus-private.h b/src/modbus-private.h index 2721a35..c5af0f9 100644 --- a/src/modbus-private.h +++ b/src/modbus-private.h @@ -1,19 +1,7 @@ /* * Copyright © 2010-2012 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1+ */ #ifndef MODBUS_PRIVATE_H diff --git a/src/modbus-rtu-private.h b/src/modbus-rtu-private.h index 41aa4f2..2e8b327 100644 --- a/src/modbus-rtu-private.h +++ b/src/modbus-rtu-private.h @@ -1,19 +1,7 @@ /* * Copyright © 2001-2011 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1+ */ #ifndef MODBUS_RTU_PRIVATE_H diff --git a/src/modbus-rtu.c b/src/modbus-rtu.c index c5c5105..58a2c05 100644 --- a/src/modbus-rtu.c +++ b/src/modbus-rtu.c @@ -1,19 +1,7 @@ /* * Copyright © 2001-2011 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1+ */ #include diff --git a/src/modbus-rtu.h b/src/modbus-rtu.h index ce7619d..50a3e00 100644 --- a/src/modbus-rtu.h +++ b/src/modbus-rtu.h @@ -1,19 +1,7 @@ /* * Copyright © 2001-2011 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1+ */ #ifndef MODBUS_RTU_H diff --git a/src/modbus-tcp-private.h b/src/modbus-tcp-private.h index 53e0574..55edf26 100644 --- a/src/modbus-tcp-private.h +++ b/src/modbus-tcp-private.h @@ -1,19 +1,7 @@ /* * Copyright © 2001-2011 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1+ */ #ifndef MODBUS_TCP_PRIVATE_H diff --git a/src/modbus-tcp.c b/src/modbus-tcp.c index 96dda63..2f5c1ec 100644 --- a/src/modbus-tcp.c +++ b/src/modbus-tcp.c @@ -1,19 +1,7 @@ /* * Copyright © 2001-2013 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1+ */ #include diff --git a/src/modbus-tcp.h b/src/modbus-tcp.h index d7684f8..abaef27 100644 --- a/src/modbus-tcp.h +++ b/src/modbus-tcp.h @@ -1,19 +1,7 @@ /* * Copyright © 2001-2010 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1+ */ #ifndef MODBUS_TCP_H diff --git a/src/modbus.c b/src/modbus.c index 90d60a5..5477b3d 100644 --- a/src/modbus.c +++ b/src/modbus.c @@ -1,20 +1,7 @@ /* * Copyright © 2001-2011 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * + * SPDX-License-Identifier: LGPL-2.1+ * * This library implements the Modbus protocol. * http://libmodbus.org/ diff --git a/src/modbus.h b/src/modbus.h index 4fc13a4..2f0d761 100644 --- a/src/modbus.h +++ b/src/modbus.h @@ -1,19 +1,7 @@ /* * Copyright © 2001-2013 Stéphane Raimbault * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1+ */ #ifndef MODBUS_H diff --git a/tests/bandwidth-client.c b/tests/bandwidth-client.c index 2ae12e3..9fa07f6 100644 --- a/tests/bandwidth-client.c +++ b/tests/bandwidth-client.c @@ -1,8 +1,7 @@ /* * Copyright © 2008-2014 Stéphane Raimbault * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the BSD License. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/tests/bandwidth-server-many-up.c b/tests/bandwidth-server-many-up.c index d6daed7..b78c939 100644 --- a/tests/bandwidth-server-many-up.c +++ b/tests/bandwidth-server-many-up.c @@ -1,8 +1,7 @@ /* * Copyright © 2008-2014 Stéphane Raimbault * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the BSD License. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/tests/bandwidth-server-one.c b/tests/bandwidth-server-one.c index 95d7bbd..8971d07 100644 --- a/tests/bandwidth-server-one.c +++ b/tests/bandwidth-server-one.c @@ -1,8 +1,7 @@ /* * Copyright © 2008-2014 Stéphane Raimbault * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the BSD License. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/tests/random-test-client.c b/tests/random-test-client.c index be51ee4..69c9b0a 100644 --- a/tests/random-test-client.c +++ b/tests/random-test-client.c @@ -1,8 +1,7 @@ /* * Copyright © 2008-2014 Stéphane Raimbault * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the BSD License. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/tests/random-test-server.c b/tests/random-test-server.c index 75ef00d..03bd870 100644 --- a/tests/random-test-server.c +++ b/tests/random-test-server.c @@ -1,8 +1,7 @@ /* * Copyright © 2008-2014 Stéphane Raimbault * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the BSD License. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/tests/unit-test-client.c b/tests/unit-test-client.c index 2861b03..ad90b5e 100644 --- a/tests/unit-test-client.c +++ b/tests/unit-test-client.c @@ -1,8 +1,7 @@ /* * Copyright © 2008-2014 Stéphane Raimbault * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the BSD License. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/tests/unit-test-server.c b/tests/unit-test-server.c index 30671d2..ebcfdb9 100644 --- a/tests/unit-test-server.c +++ b/tests/unit-test-server.c @@ -1,8 +1,7 @@ /* * Copyright © 2008-2014 Stéphane Raimbault * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the BSD License. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/tests/unit-test.h.in b/tests/unit-test.h.in index 42c1b03..93ba032 100644 --- a/tests/unit-test.h.in +++ b/tests/unit-test.h.in @@ -1,8 +1,7 @@ /* * Copyright © 2008-2014 Stéphane Raimbault * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the BSD License. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _UNIT_TEST_H_ diff --git a/tests/version.c b/tests/version.c index 37b8d1f..e830a38 100644 --- a/tests/version.c +++ b/tests/version.c @@ -1,8 +1,7 @@ /* * Copyright © 2008-2014 Stéphane Raimbault * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the BSD License. + * SPDX-License-Identifier: BSD-3-Clause */ #include