Skip to content

Commit

Permalink
*: Add missing SPDX-License-Identifier for some .c/.h files
Browse files Browse the repository at this point in the history
Adding them as others: GPL-2.0-or-later

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Mar 21, 2024
1 parent a3b5bc5 commit 874242f
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bgpd/bgp_trace.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#define TRACEPOINT_CREATE_PROBES
#define TRACEPOINT_DEFINE

Expand Down
2 changes: 2 additions & 0 deletions eigrpd/eigrp_routemap.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

/*
* eigrp_routemap.h
*
Expand Down
2 changes: 2 additions & 0 deletions lib/checksum.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

/*
* Checksum routine for Internet Protocol family headers (C Version).
*
Expand Down
2 changes: 2 additions & 0 deletions lib/checksum.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#ifndef _FRR_CHECKSUM_H
#define _FRR_CHECKSUM_H

Expand Down
2 changes: 2 additions & 0 deletions lib/explicit_bzero.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

/*
* Public domain.
* Written by Matthew Dempsky.
Expand Down
2 changes: 2 additions & 0 deletions lib/libfrr_trace.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#define TRACEPOINT_CREATE_PROBES
#define TRACEPOINT_DEFINE

Expand Down
2 changes: 2 additions & 0 deletions lib/routing_nb.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#ifndef _FRR_ROUTING_NB_H_
#define _FRR_ROUTING_NB_H_

Expand Down
2 changes: 2 additions & 0 deletions nhrpd/debug.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include "log.h"

#define NHRP_DEBUG_COMMON (1 << 0)
Expand Down
1 change: 1 addition & 0 deletions nhrpd/os.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-or-later

int os_socket(void);
int os_sendmsg(const uint8_t *buf, size_t len, int ifindex, const uint8_t *addr,
Expand Down
2 changes: 2 additions & 0 deletions nhrpd/reqid.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include "zebra.h"
#include "hash.h"
#include "nhrpd.h"
Expand Down
1 change: 1 addition & 0 deletions nhrpd/vici.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-or-later

enum vici_type_t {
VICI_START = 0,
Expand Down
2 changes: 2 additions & 0 deletions tools/cocci.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

/* some of this stuff doesn't seem to parse properly in coccinelle
*/

Expand Down
2 changes: 2 additions & 0 deletions zebra/zebra_routemap_nb_config.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include <zebra.h>

#include "lib/command.h"
Expand Down
2 changes: 2 additions & 0 deletions zebra/zebra_trace.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#define TRACEPOINT_CREATE_PROBES
#define TRACEPOINT_DEFINE

Expand Down

0 comments on commit 874242f

Please sign in to comment.