Modify licenses
[scp/ocu/5gnr.git] / Include / vos_byteorder.h
index 0e5aa5c..528ca90 100644 (file)
@@ -1,9 +1,21 @@
 /******************************************************************************
-###############################################################################
-#   Copyright (c) [2017-2020] [ICT/CAS]                                        #
-#   Licensed under the ORAN Software License v1.0 (License)             #
-###############################################################################
-******************************************************************************/
+*
+*   Copyright (c) 2020 ICT/CAS.
+*
+*   Licensed under the O-RAN Software License, Version 1.0 (the "Software License");
+*   you may not use this file except in compliance with the License.
+*   You may obtain a copy of the License at
+*
+*       https://www.o-ran.org/software
+*
+*   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.
+*
+*******************************************************************************/
+
 
 
 
@@ -32,7 +44,7 @@ extern "C"{
 #ifndef VOS_NTOHL /* 4字节 */
 #if 0
 #define VOS_NTOHL(x) ((((x) & 0xFF000000)>>24) |  (((x) & 0x00FF0000)>>8) | \
-                       (((x) & 0x0000FF00)<<8 ) |  (((x) & 0x000000FF)<<24))                      
+                       (((x) & 0x0000FF00)<<8 ) |  (((x) & 0x000000FF)<<24))
 #endif
 #define VOS_NTOHL(x) ntohl(x)
 #endif