From 2c19b642d8b870d481e407d7671d62c234c3ec51 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 14 Jul 2010 20:23:00 -0600 Subject: Rename dimension_impl.h to dimension-impl.h. --- bench/libdimension/prtree.c | 2 +- libdimension/Makefile.am | 2 +- libdimension/csg.c | 2 +- libdimension/dimension-impl.h | 31 +++++++++++++++++++++++++++++++ libdimension/dimension_impl.h | 31 ------------------------------- libdimension/error.c | 3 ++- libdimension/platform.c | 2 +- libdimension/png.c | 2 +- libdimension/progress.c | 2 +- libdimension/prtree.c | 2 +- libdimension/raytrace.c | 2 +- libdimension/scene.c | 2 +- libdimension/threads.c | 2 +- tests/libdimension/prtree.c | 2 +- 14 files changed, 44 insertions(+), 43 deletions(-) create mode 100644 libdimension/dimension-impl.h delete mode 100644 libdimension/dimension_impl.h diff --git a/bench/libdimension/prtree.c b/bench/libdimension/prtree.c index 5b38893..5b54098 100644 --- a/bench/libdimension/prtree.c +++ b/bench/libdimension/prtree.c @@ -17,7 +17,7 @@ * along with this program. If not, see . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" #include #include diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am index 43b3169..77d3285 100644 --- a/libdimension/Makefile.am +++ b/libdimension/Makefile.am @@ -56,7 +56,7 @@ libdimension_la_SOURCES = $(nobase_include_HEADERS) \ cube.c \ csg.c \ diffuse.c \ - dimension_impl.h \ + dimension-impl.h \ error.c \ finish_combination.c \ geometry.c \ diff --git a/libdimension/csg.c b/libdimension/csg.c index b48c2fa..a3c1218 100644 --- a/libdimension/csg.c +++ b/libdimension/csg.c @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" #include /* Apply the properties of `csg' to its children */ diff --git a/libdimension/dimension-impl.h b/libdimension/dimension-impl.h new file mode 100644 index 0000000..0329dbc --- /dev/null +++ b/libdimension/dimension-impl.h @@ -0,0 +1,31 @@ +/************************************************************************* + * Copyright (C) 2009-2010 Tavian Barnes * + * * + * This file is part of The Dimension Library. * + * * + * The Dimension Library 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 3 of the * + * License, or (at your option) any later version. * + * * + * The Dimension Library 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 Lesser General Public * + * License along with this program. If not, see * + * . * + *************************************************************************/ + +#ifndef DIMENSION_IMPL_H +#define DIMENSION_IMPL_H + +#define _GNU_SOURCE +#include "dimension.h" +#include "progress-struct.h" +#include "platform.h" +#include "threads.h" +#include "prtree.h" + +#endif /* DIMENSION_IMPL_H */ diff --git a/libdimension/dimension_impl.h b/libdimension/dimension_impl.h deleted file mode 100644 index 0329dbc..0000000 --- a/libdimension/dimension_impl.h +++ /dev/null @@ -1,31 +0,0 @@ -/************************************************************************* - * Copyright (C) 2009-2010 Tavian Barnes * - * * - * This file is part of The Dimension Library. * - * * - * The Dimension Library 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 3 of the * - * License, or (at your option) any later version. * - * * - * The Dimension Library 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 Lesser General Public * - * License along with this program. If not, see * - * . * - *************************************************************************/ - -#ifndef DIMENSION_IMPL_H -#define DIMENSION_IMPL_H - -#define _GNU_SOURCE -#include "dimension.h" -#include "progress-struct.h" -#include "platform.h" -#include "threads.h" -#include "prtree.h" - -#endif /* DIMENSION_IMPL_H */ diff --git a/libdimension/error.c b/libdimension/error.c index bc0e3e2..5785356 100644 --- a/libdimension/error.c +++ b/libdimension/error.c @@ -1,3 +1,4 @@ + /************************************************************************* * Copyright (C) 2009-2010 Tavian Barnes * * * @@ -18,7 +19,7 @@ * . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" #include #include /* For fprintf() */ #include /* For exit() */ diff --git a/libdimension/platform.c b/libdimension/platform.c index 372dbb5..0317bd5 100644 --- a/libdimension/platform.c +++ b/libdimension/platform.c @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" #if HAVE_UNISTD_H #include #endif diff --git a/libdimension/png.c b/libdimension/png.c index 7c21475..c5dfeca 100644 --- a/libdimension/png.c +++ b/libdimension/png.c @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" #include #include #include diff --git a/libdimension/progress.c b/libdimension/progress.c index 9d51d8d..3272ee1 100644 --- a/libdimension/progress.c +++ b/libdimension/progress.c @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" #include /* A single element in an array for dmnsn_progress. Progress of this item is diff --git a/libdimension/prtree.c b/libdimension/prtree.c index e950917..118285f 100644 --- a/libdimension/prtree.c +++ b/libdimension/prtree.c @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" #include typedef struct dmnsn_pseudo_prtree dmnsn_pseudo_prtree; diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c index 0bae5ac..6cb0ac6 100644 --- a/libdimension/raytrace.c +++ b/libdimension/raytrace.c @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" #include /* diff --git a/libdimension/scene.c b/libdimension/scene.c index c81f936..d80a8b8 100644 --- a/libdimension/scene.c +++ b/libdimension/scene.c @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" #include /* Allocate an empty scene */ diff --git a/libdimension/threads.c b/libdimension/threads.c index 3e117cd..3078465 100644 --- a/libdimension/threads.c +++ b/libdimension/threads.c @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension_impl.h" +#include "dimension-impl.h" typedef struct dmnsn_thread_payload { dmnsn_thread_fn *thread_fn; diff --git a/tests/libdimension/prtree.c b/tests/libdimension/prtree.c index 3738652..8753ed2 100644 --- a/tests/libdimension/prtree.c +++ b/tests/libdimension/prtree.c @@ -21,7 +21,7 @@ * Basic tests of PR-trees */ -#include "dimension_impl.h" +#include "dimension-impl.h" #include #include -- cgit v1.2.3