style fix
[oweals/gnunet.git] / src / util / test_common_endian.c
index 658e199aac6ff022d5bda77c96f095d5b0c1baec..02de4b5c60915e0ed8d386df656180527d42b3d0 100644 (file)
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Affero General Public License for more details.
-*/
+
+     You should have received a copy of the GNU Affero General Public License
+     along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+     SPDX-License-Identifier: AGPL3.0-or-later
+ */
 /**
  * @file util/test_common_endian.c
  * @brief testcase for common_endian.c
 #define CHECK(n) if (n != GNUNET_htonll(GNUNET_ntohll(n))) return 1;
 
 int
-main (int argc, char *argv[])
+main(int argc, char *argv[])
 {
-  GNUNET_log_setup ("test-common-endian", "WARNING", NULL);
-  CHECK (1);
-  CHECK (0x12345678);
-  CHECK (123456789012345LL);
-  if ((0x1234567890ABCDEFLL != GNUNET_htonll (0xEFCDAB9078563412LL)) &&
-      42 != htonl (42))
+  GNUNET_log_setup("test-common-endian", "WARNING", NULL);
+  CHECK(1);
+  CHECK(0x12345678);
+  CHECK(123456789012345LL);
+  if ((0x1234567890ABCDEFLL != GNUNET_htonll(0xEFCDAB9078563412LL)) &&
+      42 != htonl(42))
     return 1;
   return 0;
 }