summaryrefslogtreecommitdiffstats
path: root/mboxd_lpc_virtual.cpp
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-02-27 12:16:48 +1030
committerAndrew Jeffery <andrew@aj.id.au>2018-03-24 13:59:32 +1030
commit4fe996c2e7f157d521b5c8732e8b80e03bd25ff0 (patch)
treef4549207697663ff5e2dc8fc6e01e098dcf5d66c /mboxd_lpc_virtual.cpp
parentacee6839ecbcfea27ca546d303fd150a80b51d34 (diff)
downloadphosphor-mboxd-4fe996c2e7f157d521b5c8732e8b80e03bd25ff0.tar.gz
phosphor-mboxd-4fe996c2e7f157d521b5c8732e8b80e03bd25ff0.zip
misc: Replace license blurb with kernel-style SPDX markers
This was roughly achieved by the following shell script: $ git ls-files | grep '\.[ch]p*$' | while read F; do EXT=${F##*.}; cat spdx.$EXT <(sed '/^\/\*$/,/^ \*\/$/d' $F) > ${F}.tmp; mv ${F}.tmp $F; done With the following context: $ cat spdx.c // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2018 IBM Corp. $ cat spdx.h /* SPDX-License-Identifier: Apache-2.0 */ /* Copyright (C) 2018 IBM Corp. */ $ ls -l spdx.* -rw-r--r-- 1 andrew andrew 71 Feb 27 12:02 spdx.c lrwxrwxrwx 1 andrew andrew 6 Feb 27 12:02 spdx.cpp -> spdx.c -rw-r--r-- 1 andrew andrew 77 Feb 27 12:02 spdx.h lrwxrwxrwx 1 andrew andrew 6 Feb 27 12:02 spdx.hpp -> spdx.h The `sed` invocation catches a lot of function documentation, so the hunks were manually added to avoid removing information that we want to keep. Change-Id: I63e49ca2593aa0db0568c7a63bfdead388642e76 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'mboxd_lpc_virtual.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud