summaryrefslogtreecommitdiff
path: root/util/sort_includes.py
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2016-03-28 21:42:46 -0700
committerNathan Binkert <nate@binkert.org>2016-03-28 21:42:46 -0700
commit155470900a10f43fdbc488c54080ad24e3b09e63 (patch)
tree1fc0c3e50baac64d3e349aa726b5074c074050c7 /util/sort_includes.py
parent363b103cc44ff16fbc3f1179f95fc800db042397 (diff)
downloadgem5-155470900a10f43fdbc488c54080ad24e3b09e63.tar.xz
copyright: add copyright missing from files I created
Diffstat (limited to 'util/sort_includes.py')
-rw-r--r--util/sort_includes.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/util/sort_includes.py b/util/sort_includes.py
index 9cfd5b2c1..2e3ec6c1c 100644
--- a/util/sort_includes.py
+++ b/util/sort_includes.py
@@ -1,5 +1,33 @@
#!/usr/bin/env python
+# Copyright (c) 2011 The Hewlett-Packard Development Company
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met: redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer;
+# redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution;
+# neither the name of the copyright holders nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Authors: Nathan Binkert
+
import os
import re
import sys