diff --git a/canutils/CMakeLists.txt b/canutils/CMakeLists.txt index 238b40af20..aa4a02ed9e 100644 --- a/canutils/CMakeLists.txt +++ b/canutils/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/Make.defs b/canutils/Make.defs index 77a6c4d3a9..b68638da84 100644 --- a/canutils/Make.defs +++ b/canutils/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/Makefile b/canutils/Makefile index d8d9f1ddd3..68a1d93b28 100644 --- a/canutils/Makefile +++ b/canutils/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/candump/CMakeLists.txt b/canutils/candump/CMakeLists.txt index 590f7897bd..be4f27f0b8 100644 --- a/canutils/candump/CMakeLists.txt +++ b/canutils/candump/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/candump/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/candump/Make.defs b/canutils/candump/Make.defs index bf15862fec..d781a87b51 100644 --- a/canutils/candump/Make.defs +++ b/canutils/candump/Make.defs @@ -1,6 +1,7 @@ ############################################################################ # apps/canutils/candump/Make.defs -# Adds selected applications to apps/ build +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/canutils/candump/Makefile b/canutils/candump/Makefile index 080ca6436e..d8861496f9 100644 --- a/canutils/candump/Makefile +++ b/canutils/candump/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/candump/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/candump/candump.c b/canutils/candump/candump.c index 66887fb61f..58958a46f0 100644 --- a/canutils/candump/candump.c +++ b/canutils/candump/candump.c @@ -1,9 +1,8 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ -/* - * candump.c +/**************************************************************************** + * apps/canutils/candump/candump.c * - * Copyright (c) 2002-2009 Volkswagen Group Electronic Research - * All rights reserved. + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -40,7 +39,11 @@ * * Send feedback to * - */ + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ #include #include @@ -66,6 +69,10 @@ #include "terminal.h" #include "lib.h" +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + /* for hardware timestamps - since Linux 2.6.30 */ #ifndef SO_TIMESTAMPING #define SO_TIMESTAMPING 37 @@ -98,6 +105,10 @@ const char col_on [MAXCOL][19] = {BLUE, RED, GREEN, BOLD, MAGENTA, CYAN}; const char col_off [] = ATTRESET; +/**************************************************************************** + * Public Functions + ****************************************************************************/ + static __u32 dropcnt[MAXSOCK]; static __u32 last_dropcnt[MAXSOCK]; static char devname[MAXIFNAMES][IFNAMSIZ+1]; diff --git a/canutils/canlib/CMakeLists.txt b/canutils/canlib/CMakeLists.txt index 9cdfb31288..9f8af63e1a 100644 --- a/canutils/canlib/CMakeLists.txt +++ b/canutils/canlib/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/canlib/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/canlib/Make.defs b/canutils/canlib/Make.defs index fd712bee81..61e591c18d 100644 --- a/canutils/canlib/Make.defs +++ b/canutils/canlib/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/canlib/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/Makefile b/canutils/canlib/Makefile index 54fc23f66c..64ecdb0a34 100644 --- a/canutils/canlib/Makefile +++ b/canutils/canlib/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/canlib/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_getbaud.c b/canutils/canlib/canlib_getbaud.c index 23965e70ea..af123edeac 100644 --- a/canutils/canlib/canlib_getbaud.c +++ b/canutils/canlib/canlib_getbaud.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_getbaud.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_getloopback.c b/canutils/canlib/canlib_getloopback.c index f9ba5fdf33..443161e960 100644 --- a/canutils/canlib/canlib_getloopback.c +++ b/canutils/canlib/canlib_getloopback.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_getloopback.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_getsilent.c b/canutils/canlib/canlib_getsilent.c index ffb4abfed6..868072eb1e 100644 --- a/canutils/canlib/canlib_getsilent.c +++ b/canutils/canlib/canlib_getsilent.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_getsilent.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_setbaud.c b/canutils/canlib/canlib_setbaud.c index 0b4fa322a1..b3ee68f265 100644 --- a/canutils/canlib/canlib_setbaud.c +++ b/canutils/canlib/canlib_setbaud.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_setbaud.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_setloopback.c b/canutils/canlib/canlib_setloopback.c index bc88956c81..7e78b1a342 100644 --- a/canutils/canlib/canlib_setloopback.c +++ b/canutils/canlib/canlib_setloopback.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_setloopback.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_setsilent.c b/canutils/canlib/canlib_setsilent.c index da05f01b10..0900f92614 100644 --- a/canutils/canlib/canlib_setsilent.c +++ b/canutils/canlib/canlib_setsilent.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_setsilent.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/cansend/CMakeLists.txt b/canutils/cansend/CMakeLists.txt index 207911f657..3119166664 100644 --- a/canutils/cansend/CMakeLists.txt +++ b/canutils/cansend/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/cansend/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/cansend/Make.defs b/canutils/cansend/Make.defs index 2361a59bcd..13ddf36f48 100644 --- a/canutils/cansend/Make.defs +++ b/canutils/cansend/Make.defs @@ -1,6 +1,7 @@ ############################################################################ # apps/canutils/cansend/Make.defs -# Adds selected applications to apps/ build +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/canutils/cansend/Makefile b/canutils/cansend/Makefile index 52d17f3f82..ae0e2cc1c6 100644 --- a/canutils/cansend/Makefile +++ b/canutils/cansend/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/cansend/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/cansend/cansend.c b/canutils/cansend/cansend.c index f630addf76..42fcffc79c 100644 --- a/canutils/cansend/cansend.c +++ b/canutils/cansend/cansend.c @@ -1,30 +1,8 @@ /**************************************************************************** * apps/canutils/cansend/cansend.c * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) * - * - * cansend.c - send CAN-frames via CAN_RAW sockets - * - * Copyright (c) 2002-2007 Volkswagen Group Electronic Research - * All rights reserved. + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/canutils/lely-canopen/CMakeLists.txt b/canutils/lely-canopen/CMakeLists.txt index 380bd4909d..1211500d7a 100644 --- a/canutils/lely-canopen/CMakeLists.txt +++ b/canutils/lely-canopen/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/lely-canopen/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/lely-canopen/Make.defs b/canutils/lely-canopen/Make.defs index 1230d307c3..09f0c06cde 100644 --- a/canutils/lely-canopen/Make.defs +++ b/canutils/lely-canopen/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/lely-canopen/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/lely-canopen/Makefile b/canutils/lely-canopen/Makefile index c85733013d..1985016c47 100644 --- a/canutils/lely-canopen/Makefile +++ b/canutils/lely-canopen/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/lely-canopen/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libcanutils/CMakeLists.txt b/canutils/libcanutils/CMakeLists.txt index 62943e924c..1ceb042e5b 100644 --- a/canutils/libcanutils/CMakeLists.txt +++ b/canutils/libcanutils/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/libcanutils/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/libcanutils/Make.defs b/canutils/libcanutils/Make.defs index 70e0418d52..4c40e4cdfe 100644 --- a/canutils/libcanutils/Make.defs +++ b/canutils/libcanutils/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libcanutils/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libcanutils/Makefile b/canutils/libcanutils/Makefile index cb790c8539..d7eb68785a 100644 --- a/canutils/libcanutils/Makefile +++ b/canutils/libcanutils/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libcanutils/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libcanutils/lib.c b/canutils/libcanutils/lib.c index 12580521a1..749761d616 100644 --- a/canutils/libcanutils/lib.c +++ b/canutils/libcanutils/lib.c @@ -1,9 +1,7 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ -/* - * lib.c - library for command line tools +/**************************************************************************** * - * Copyright (c) 2002-2007 Volkswagen Group Electronic Research - * All rights reserved. + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -40,7 +38,7 @@ * * Send feedback to * - */ + ****************************************************************************/ #include #include diff --git a/canutils/libcanutils/lib.h b/canutils/libcanutils/lib.h index 97db405df5..ebabb6a4d8 100644 --- a/canutils/libcanutils/lib.h +++ b/canutils/libcanutils/lib.h @@ -1,9 +1,7 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ -/* - * lib.h - library include for command line tools +/**************************************************************************** * - * Copyright (c) 2002-2007 Volkswagen Group Electronic Research - * All rights reserved. + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -40,7 +38,7 @@ * * Send feedback to * - */ + ****************************************************************************/ #ifndef CAN_UTILS_LIB_H #define CAN_UTILS_LIB_H diff --git a/canutils/libcanutils/terminal.h b/canutils/libcanutils/terminal.h index 198b48ec0d..1b25e9ad37 100644 --- a/canutils/libcanutils/terminal.h +++ b/canutils/libcanutils/terminal.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ -/* - * Copyright (c) 2002-2007 Volkswagen Group Electronic Research - * All rights reserved. +/**************************************************************************** + * + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -38,7 +38,7 @@ * * Send feedback to * - */ + ****************************************************************************/ #ifndef TERMINAL_H #define TERMINAL_H diff --git a/canutils/libdronecan/CMakeLists.txt b/canutils/libdronecan/CMakeLists.txt index feb29e3542..c8f7af9b27 100644 --- a/canutils/libdronecan/CMakeLists.txt +++ b/canutils/libdronecan/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/libdronecan/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/libdronecan/Make.defs b/canutils/libdronecan/Make.defs index ad0ea54bb8..1a694e878e 100644 --- a/canutils/libdronecan/Make.defs +++ b/canutils/libdronecan/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libdronecan/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libdronecan/Makefile b/canutils/libdronecan/Makefile index 7606ac4a3c..0ad1d2dd4b 100644 --- a/canutils/libdronecan/Makefile +++ b/canutils/libdronecan/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libdronecan/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/CMakeLists.txt b/canutils/libobd2/CMakeLists.txt index ee9515a8ac..f0dd564973 100644 --- a/canutils/libobd2/CMakeLists.txt +++ b/canutils/libobd2/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/libobd2/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/libobd2/Make.defs b/canutils/libobd2/Make.defs index 0970930595..9e619d04da 100644 --- a/canutils/libobd2/Make.defs +++ b/canutils/libobd2/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libobd2/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/Makefile b/canutils/libobd2/Makefile index 495f1c0692..2a1daebb04 100644 --- a/canutils/libobd2/Makefile +++ b/canutils/libobd2/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libobd2/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/obd2.c b/canutils/libobd2/obd2.c index fcf007b2a0..723b2f37cc 100644 --- a/canutils/libobd2/obd2.c +++ b/canutils/libobd2/obd2.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/libobd2/obd2.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/obd_decodepid.c b/canutils/libobd2/obd_decodepid.c index 3a3439a748..0198d09bbd 100644 --- a/canutils/libobd2/obd_decodepid.c +++ b/canutils/libobd2/obd_decodepid.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/libobd2/obd_decodepid.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/obd_sendrequest.c b/canutils/libobd2/obd_sendrequest.c index 2fb4c7d577..3dc7243bde 100644 --- a/canutils/libobd2/obd_sendrequest.c +++ b/canutils/libobd2/obd_sendrequest.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/libobd2/obd_sendrequest.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/obd_waitresponse.c b/canutils/libobd2/obd_waitresponse.c index d000a5a194..12c8a13e0d 100644 --- a/canutils/libobd2/obd_waitresponse.c +++ b/canutils/libobd2/obd_waitresponse.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/libobd2/obd_waitresponse.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/libopencyphal/CMakeLists.txt b/canutils/libopencyphal/CMakeLists.txt index d79becba03..3f0efee73f 100644 --- a/canutils/libopencyphal/CMakeLists.txt +++ b/canutils/libopencyphal/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/libopencyphal/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/libopencyphal/Make.defs b/canutils/libopencyphal/Make.defs index 5fdf13abf4..483bfbcabf 100644 --- a/canutils/libopencyphal/Make.defs +++ b/canutils/libopencyphal/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libopencyphal/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libopencyphal/Makefile b/canutils/libopencyphal/Makefile index 5d580dd08b..52f4e90c34 100644 --- a/canutils/libopencyphal/Makefile +++ b/canutils/libopencyphal/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libopencyphal/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/slcan/CMakeLists.txt b/canutils/slcan/CMakeLists.txt index 3dd7ddeacd..5feb5c28d9 100644 --- a/canutils/slcan/CMakeLists.txt +++ b/canutils/slcan/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/slcan/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/slcan/Make.defs b/canutils/slcan/Make.defs index dd6f6db530..4f5ec3b6ac 100644 --- a/canutils/slcan/Make.defs +++ b/canutils/slcan/Make.defs @@ -1,6 +1,7 @@ ############################################################################ # apps/canutils/slcan/Make.defs -# Adds selected applications to apps/ build +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/canutils/slcan/Makefile b/canutils/slcan/Makefile index 5ff4ce64f7..5b2f12a178 100644 --- a/canutils/slcan/Makefile +++ b/canutils/slcan/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/slcan/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/slcan/slcan.c b/canutils/slcan/slcan.c index 6190e2ea24..c265778140 100644 --- a/canutils/slcan/slcan.c +++ b/canutils/slcan/slcan.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/slcan/slcan.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/slcan/slcan.h b/canutils/slcan/slcan.h index cc6bedce0f..229069ccf8 100644 --- a/canutils/slcan/slcan.h +++ b/canutils/slcan/slcan.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/slcan/slcan.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The