Browse Source

Using C89 comments

Sergey Lyubka 11 years ago
parent
commit
507e2f91ee
1 changed files with 27 additions and 23 deletions
  1. 27 23
      unit_test.c

+ 27 - 23
unit_test.c

@@ -1,26 +1,30 @@
-// Copyright (c) 2004-2013 Sergey Lyubka <[email protected]>
-// Copyright (c) 2013 Cesanta Software Limited
-// All rights reserved
-//
-// This library is dual-licensed: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License version 2 as
-// published by the Free Software Foundation. For the terms of this
-// license, see <http://www.gnu.org/licenses/>.
-//
-// You are free to use this library under the terms of the GNU General
-// Public License, 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.
-//
-// Alternatively, you can license this library under a commercial
-// license, as set out in <http://cesanta.com/products.html>.
-
-// To unit test on Mac system, do
-//
-// g++ unit_test.c -o unit_test -W -Wall -g -O0 -fprofile-arcs -ftest-coverage
-// clang unit_test.c -o unit_test -W -Wall -g -O0 -fprofile-arcs -ftest-coverage
-// ./unit_test
-// gcov -a unit_test.c
+/*
+ * Copyright (c) 2004-2013 Sergey Lyubka <[email protected]>
+ * Copyright (c) 2013 Cesanta Software Limited
+ * All rights reserved
+ *
+ * This library is dual-licensed: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation. For the terms of this
+ * license, see <http: *www.gnu.org/licenses/>.
+ *
+ * You are free to use this library under the terms of the GNU General
+ * Public License, 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.
+ *
+ * Alternatively, you can license this library under a commercial
+ * license, as set out in <http://cesanta.com/products.html>.
+ */
+
+/*
+ * To unit test on Mac system, do
+ *
+ * g++ unit_test.c -o unit_test -W -Wall -g -O0 -fprofile-arcs -ftest-coverage
+ * clang unit_test.c -o unit_test -W -Wall -g -O0 -fprofile-arcs -ftest-coverage
+ * ./unit_test
+ * gcov -a unit_test.c
+ */
 
 #include "frozen.c"