[Kstars-devel] KDE/kdeedu/kstars/kstars/data/tools
Akarsh Simha
akarshsimha at gmail.com
Mon Jul 14 22:12:31 CEST 2008
SVN commit 832493 by asimha:
+ Adding copyright information to binfiletester.c and mysql2bin.c
+ binfiletester.c uses round() which is declared in math.h
CCMAIL: kstars-devel at kde.org
M +18 -6 binfiletester.c
M +21 -5 mysql2bin.c
--- trunk/KDE/kdeedu/kstars/kstars/data/tools/binfiletester.c #832492:832493
@@ -1,12 +1,24 @@
-/*
- * Star data to read the binary format used by KStars and output it as plain text records, for testing purposes
- *
- * Date: 28th May 2008, Author: Akarsh Simha <akarshsimha at gmail.com>
- * License: GPL
- */
+/***************************************************************************
+ binfiletester.c - Check star catalog (binary) files for errors
+ -------------------
+ begin : Wed May 28 2008
+ copyright : (C) 2008 by Akarsh Simha
+ email : akarshsimha at gmail.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
#include <stdio.h>
#include <stdlib.h>
+#include <math.h>
#include <sys/types.h>
#include <string.h>
#include "byteswap.h"
--- trunk/KDE/kdeedu/kstars/kstars/data/tools/mysql2bin.c #832492:832493
@@ -1,9 +1,25 @@
-/*
- * Program to convert star data stored in a MySQL database into the binary file format used by KStars
- * Start Date: 26th May 2008 ; Author: Akarsh Simha <akarshsimha at gmail.com>
- * License: GPL
- */
+/***************************************************************************
+ mysql2bin.c - Convert data from MySQL to binary format
+ -------------------
+ begin : Mon May 26 2008
+ copyright : (C) 2008 by Akarsh Simha
+ email : akarshsimha at gmail.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+// Program to convert star data stored in a MySQL database into
+// the binary file format used by KStars
+
+
#include <mysql/mysql.h>
#include <sys/types.h>
#include <stdlib.h>
More information about the Kstars-devel
mailing list