Update README and documentation
[lttv.git] / lttv / lttv / sync / event_analysis_chull.c
index 8e965b72a7e1296de507cfe187f893f4784d5ae3..12c3d85f4928698bc5ed0d2ef218d2addb9bd153 100644 (file)
@@ -1,19 +1,18 @@
 /* This file is part of the Linux Trace Toolkit viewer
- * Copyright (C) 2009 Benjamin Poirier <benjamin.poirier@polymtl.ca>
+ * Copyright (C) 2009, 2010 Benjamin Poirier <benjamin.poirier@polymtl.ca>
  *
- * This program is free software; 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;
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 2.1 of the License, or (at
+ * your option) any later version.
  *
- * This program is distributed in the hope that it will be useful,
- * 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.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
+ * License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #define _ISOC99_SOURCE
 
@@ -61,8 +60,6 @@ static void writeAnalysisGraphsPlotsCHull(SyncState* const syncState, const
        unsigned int i, const unsigned int j);
 
 // Functions specific to this module
-static void registerAnalysisCHull() __attribute__((constructor (101)));
-
 static void openGraphFiles(SyncState* const syncState);
 static void closeGraphFiles(SyncState* const syncState);
 static void writeGraphFiles(SyncState* const syncState);
@@ -121,7 +118,7 @@ const char* const approxNames[]= {
 /*
  * Analysis module registering function
  */
-static void registerAnalysisCHull()
+void registerAnalysisCHull()
 {
        g_queue_push_tail(&analysisModules, &analysisModuleCHull);
 }
@@ -1252,7 +1249,7 @@ static double intercept(const Point* const p1, const Point* const p2)
  * is.
  *
  * Two alternative (and subtly different) ways of propagating factors to
- * preserve min and max bondaries have been proposed, see:
+ * preserve min and max boundaries have been proposed, see:
  * [Duda, A., Harrus, G., Haddad, Y., and Bernard, G.: Estimating global time
  * in distributed systems, Proc. 7th Int. Conf. on Distributed Computing
  * Systems, Berlin, volume 18, 1987] p.304
This page took 0.026043 seconds and 4 git commands to generate.