diff options
author | Thomas Haller <thaller@redhat.com> | 2019-06-02 14:32:30 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-06-11 10:04:00 +0200 |
commit | c0e075c90263150bd00ea033dbbd2d8e6b05300e (patch) | |
tree | 96914aeae06e9f35c3e040f92408bd6013f3bee1 /src/tests | |
parent | d3db21ddaf38c2670fe5541bea1911b6f075d0b4 (diff) | |
download | NetworkManager-c0e075c90263150bd00ea033dbbd2d8e6b05300e.tar.gz |
all: drop emacs file variables from source files
We no longer add these. If you use Emacs, configure it yourself.
Also, due to our "smart-tab" usage the editor anyway does a subpar
job handling our tabs. However, on the upside every user can choose
whatever tab-width he/she prefers. If "smart-tabs" are used properly
(like we do), every tab-width will work.
No manual changes, just ran commands:
F=($(git grep -l -e '-\*-'))
sed '1 { /\/\* *-\*- *[mM]ode.*\*\/$/d }' -i "${F[@]}"
sed '1,4 { /^\(#\|--\|dnl\) *-\*- [mM]ode/d }' -i "${F[@]}"
Check remaining lines with:
git grep -e '-\*-'
The ultimate purpose of this is to cleanup our files and eventually use
SPDX license identifiers. For that, first get rid of the boilerplate lines.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/config/nm-test-device.c | 1 | ||||
-rw-r--r-- | src/tests/config/nm-test-device.h | 1 | ||||
-rw-r--r-- | src/tests/config/test-config.c | 1 | ||||
-rw-r--r-- | src/tests/test-core-with-expect.c | 1 | ||||
-rw-r--r-- | src/tests/test-core.c | 1 | ||||
-rw-r--r-- | src/tests/test-dcb.c | 1 | ||||
-rw-r--r-- | src/tests/test-ip4-config.c | 1 | ||||
-rw-r--r-- | src/tests/test-ip6-config.c | 1 | ||||
-rwxr-xr-x | src/tests/test-secret-agent.py | 1 | ||||
-rw-r--r-- | src/tests/test-systemd.c | 1 | ||||
-rw-r--r-- | src/tests/test-utils.c | 1 | ||||
-rw-r--r-- | src/tests/test-wired-defname.c | 1 |
12 files changed, 0 insertions, 12 deletions
diff --git a/src/tests/config/nm-test-device.c b/src/tests/config/nm-test-device.c index 3a8ef266e8..dd624b442f 100644 --- a/src/tests/config/nm-test-device.c +++ b/src/tests/config/nm-test-device.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager -- Network link manager * * This program is free software; you can redistribute it and/or modify diff --git a/src/tests/config/nm-test-device.h b/src/tests/config/nm-test-device.h index c193b86089..586bbe6d7a 100644 --- a/src/tests/config/nm-test-device.h +++ b/src/tests/config/nm-test-device.h @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager -- Network link manager * * This program is free software; you can redistribute it and/or modify diff --git a/src/tests/config/test-config.c b/src/tests/config/test-config.c index 10084b7fe2..a5ef143154 100644 --- a/src/tests/config/test-config.c +++ b/src/tests/config/test-config.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/tests/test-core-with-expect.c b/src/tests/test-core-with-expect.c index e4b30db8a3..19e5a342d4 100644 --- a/src/tests/test-core-with-expect.c +++ b/src/tests/test-core-with-expect.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/tests/test-core.c b/src/tests/test-core.c index f5d42e6d4f..3eaad104dd 100644 --- a/src/tests/test-core.c +++ b/src/tests/test-core.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/tests/test-dcb.c b/src/tests/test-dcb.c index 6291f254c7..55206f1d9a 100644 --- a/src/tests/test-dcb.c +++ b/src/tests/test-dcb.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/tests/test-ip4-config.c b/src/tests/test-ip4-config.c index f98c84c3ba..d4d0c1bbf7 100644 --- a/src/tests/test-ip4-config.c +++ b/src/tests/test-ip4-config.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/tests/test-ip6-config.c b/src/tests/test-ip6-config.c index 8f5f41d73f..bc212ba742 100644 --- a/src/tests/test-ip6-config.c +++ b/src/tests/test-ip6-config.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/tests/test-secret-agent.py b/src/tests/test-secret-agent.py index d3f8280284..d8cabc6571 100755 --- a/src/tests/test-secret-agent.py +++ b/src/tests/test-secret-agent.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- from gi.repository import GLib import sys diff --git a/src/tests/test-systemd.c b/src/tests/test-systemd.c index 4f6809ab63..090dd69167 100644 --- a/src/tests/test-systemd.c +++ b/src/tests/test-systemd.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/tests/test-utils.c b/src/tests/test-utils.c index c326f790cb..f3eb66ef64 100644 --- a/src/tests/test-utils.c +++ b/src/tests/test-utils.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/tests/test-wired-defname.c b/src/tests/test-wired-defname.c index 97a6c319c9..27e0590b1e 100644 --- a/src/tests/test-wired-defname.c +++ b/src/tests/test-wired-defname.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by |