Add SPDX identifiers

This commit is contained in:
Johan Malm 2021-11-13 21:56:53 +00:00
parent ff75b4cd26
commit e227de1346
26 changed files with 26 additions and 1 deletions

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <ctype.h>
#include "common/buf.h"

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Find the configuration and theme directories
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <cairo.h>
#include <drm_fourcc.h>
#include <pango/pangocairo.h>

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Read file into memory
*

View file

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <ctype.h>
#include <string.h>
#include "common/nodename.h"

View file

@ -15,7 +15,7 @@ is_within_resistance_range(struct edges view, struct edges target,
{
if (view.left >= other.left && target.left < other.left
&& target.left >= other.left - strength) {
flags->left = 1;
flags->left = 1;
} else if (view.right <= other.right && target.right > other.right
&& target.right <= other.right + strength) {
flags->right = 1;