summaryrefslogtreecommitdiffstats
path: root/ecc/src
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2015-01-07 20:19:50 -0500
committerBrad Bishop <bradleyb@us.ibm.com>2015-01-07 20:45:40 -0500
commit89d9b904afd6ce0c00e7f8e2a859d2460e678f74 (patch)
tree368446eef5b78708ca7b78c1d7a0c22ab1543e2c /ecc/src
parentbf4630076762d9c20c16c80c1c791f352b046dd1 (diff)
downloadffs-89d9b904afd6ce0c00e7f8e2a859d2460e678f74.tar.gz
ffs-89d9b904afd6ce0c00e7f8e2a859d2460e678f74.zip
Use correct (Apache) license.
Diffstat (limited to 'ecc/src')
-rw-r--r--ecc/src/main.c51
-rw-r--r--ecc/src/main.h41
2 files changed, 49 insertions, 43 deletions
diff --git a/ecc/src/main.c b/ecc/src/main.c
index dc6899c..7199919 100644
--- a/ecc/src/main.c
+++ b/ecc/src/main.c
@@ -1,20 +1,27 @@
-/*
- * Copyright (c) International Business Machines Corp., 2012
- *
- * 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
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: ecc/src/main.c $ */
+/* */
+/* OpenPOWER FFS Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2014,2015 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
/*
* File: main.c
@@ -50,20 +57,12 @@
args_t args;
-static const char copyright[] __unused__ =
- "Licensed Internal Code - Property of IBM\n"
- "IBM Support Processor Licensed Internal Code\n"
- "(c) Copyright IBM Corp 2012 All Rights Reserved\n"
- "US Government Users Restricted Rights - Use, duplication\n"
- "or disclosure restricted by GSA ADP Schedule Contract\n" "with IBM Corp.";
-
static void usage(const char *short_name, bool verbose)
{
const char *n = short_name;
FILE *e = stderr;
- fprintf(e, "FSP NOR ECC Tool v%d.%d.%d -- Authors: <shaun@us.ibm.com>\n"
- "(c) Copyright IBM Corp 2012 All Rights Reserved\n",
+ fprintf(e, "NOR ECC Tool v%d.%d.%d -- Authors: <shaun@us.ibm.com>\n",
ECC_MAJOR, ECC_MINOR, ECC_PATCH);
fprintf(e, "\nUsage:\n");
diff --git a/ecc/src/main.h b/ecc/src/main.h
index c4f04a0..a1a4073 100644
--- a/ecc/src/main.h
+++ b/ecc/src/main.h
@@ -1,20 +1,27 @@
-/*
- * Copyright (c) International Business Machines Corp., 2012
- *
- * 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
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: ecc/src/main.h $ */
+/* */
+/* OpenPOWER FFS Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2014,2015 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
/*
* File: main.h
OpenPOWER on IntegriCloud