You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/05/12 12:38:34 UTC
[plc4x] 01/01: - Added some missing Apache Headers
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit d87eeb857faadf0fbfce628a41b2aee153431005
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Tue May 12 14:38:23 2020 +0200
- Added some missing Apache Headers
---
sandbox/plc4c/.clang-format | 18 ++++++++++++++++++
sandbox/plc4c/CODE_CONVENTIONS.md | 18 ++++++++++++++++++
sandbox/plc4c/spi/src/data.c | 18 ++++++++++++++++++
3 files changed, 54 insertions(+)
diff --git a/sandbox/plc4c/.clang-format b/sandbox/plc4c/.clang-format
index f2dd0de..5990f99 100644
--- a/sandbox/plc4c/.clang-format
+++ b/sandbox/plc4c/.clang-format
@@ -1,3 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
---
Language: Cpp
# BasedOnStyle: Google
diff --git a/sandbox/plc4c/CODE_CONVENTIONS.md b/sandbox/plc4c/CODE_CONVENTIONS.md
index d176007..3dd4872 100644
--- a/sandbox/plc4c/CODE_CONVENTIONS.md
+++ b/sandbox/plc4c/CODE_CONVENTIONS.md
@@ -1,3 +1,21 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+
+-->
# Apache PLC4C Code Conventions
This is not a style guide, but rather a set of conventions to be used when creating variable, functions, and structs from an implementation point of view.
diff --git a/sandbox/plc4c/spi/src/data.c b/sandbox/plc4c/spi/src/data.c
index c4ea1ad..53284dd 100644
--- a/sandbox/plc4c/spi/src/data.c
+++ b/sandbox/plc4c/spi/src/data.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
#include <assert.h>
#include <plc4c/data.h>