summaryrefslogtreecommitdiff
path: root/libnm/nm-device-wifi-p2p.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-10-01 09:20:35 +0200
committerThomas Haller <thaller@redhat.com>2019-10-02 17:03:52 +0200
commit3b69f02164d20258720b6a06d98a07c0c710e219 (patch)
treec8b0b68b8a4c355fcea82e006308b3f68756b00c /libnm/nm-device-wifi-p2p.h
parenta5ca504b5be77ef1fefbb6e8d159377e2b7bbe68 (diff)
downloadNetworkManager-3b69f02164d20258720b6a06d98a07c0c710e219.tar.gz
all: unify format of our Copyright source code comments
```bash readarray -d '' FILES < <( git ls-files -z \ ':(exclude)po' \ ':(exclude)shared/c-rbtree' \ ':(exclude)shared/c-list' \ ':(exclude)shared/c-siphash' \ ':(exclude)shared/c-stdaux' \ ':(exclude)shared/n-acd' \ ':(exclude)shared/n-dhcp4' \ ':(exclude)src/systemd/src' \ ':(exclude)shared/systemd/src' \ ':(exclude)m4' \ ':(exclude)COPYING*' ) sed \ -e 's/^\(--\|#\| \*\) *\(([cC]) *\)\?Copyright \+\(\(([cC])\) \+\)\?\(\(20\|19\)[0-9][0-9]\) *[-–] *\(\(20\|19\)[0-9][0-9]\) \+\([^ ].*\)$/\1 C1pyright#\5 - \7#\9/' \ -e 's/^\(--\|#\| \*\) *\(([cC]) *\)\?Copyright \+\(\(([cC])\) \+\)\?\(\(20\|19\)[0-9][0-9]\) *[,] *\(\(20\|19\)[0-9][0-9]\) \+\([^ ].*\)$/\1 C2pyright#\5, \7#\9/' \ -e 's/^\(--\|#\| \*\) *\(([cC]) *\)\?Copyright \+\(\(([cC])\) \+\)\?\(\(20\|19\)[0-9][0-9]\) \+\([^ ].*\)$/\1 C3pyright#\5#\7/' \ -e 's/^Copyright \(\(20\|19\)[0-9][0-9]\) \+\([^ ].*\)$/C4pyright#\1#\3/' \ -i \ "${FILES[@]}" echo ">>> untouched Copyright lines" git grep Copyright "${FILES[@]}" echo ">>> Copyright lines with unusual extra" git grep '\<C[0-9]pyright#' "${FILES[@]}" | grep -i reserved sed \ -e 's/\<C[0-9]pyright#\([^#]*\)#\(.*\)$/Copyright (C) \1 \2/' \ -i \ "${FILES[@]}" ``` https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/298
Diffstat (limited to 'libnm/nm-device-wifi-p2p.h')
-rw-r--r--libnm/nm-device-wifi-p2p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-device-wifi-p2p.h b/libnm/nm-device-wifi-p2p.h
index 6c5c6532c5..37b23616dc 100644
--- a/libnm/nm-device-wifi-p2p.h
+++ b/libnm/nm-device-wifi-p2p.h
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-2.1+
/*
- * Copyright 2018 - 2019 Red Hat, Inc.
+ * Copyright (C) 2018 - 2019 Red Hat, Inc.
*/
#ifndef __NM_DEVICE_WIFI_P2P_H__