babl r388 - in trunk: . babl
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: babl r388 - in trunk: . babl
- Date: Sun, 18 Jan 2009 18:18:19 +0000 (UTC)
Author: martinn
Date: Sun Jan 18 18:18:19 2009
New Revision: 388
URL: http://svn.gnome.org/viewvc/babl?rev=388&view=rev
Log:
Add include guards.
* babl/babl-component.h
* babl/babl-conversion.h
* babl/babl-extension.h
* babl/babl-fish.h
* babl/babl-format.h
* babl/babl-image.h
* babl/babl-model.h
* babl/babl-sampling.h
* babl/babl-type.h
Modified:
trunk/ChangeLog
trunk/babl/babl-component.h
trunk/babl/babl-conversion.h
trunk/babl/babl-extension.h
trunk/babl/babl-fish.h
trunk/babl/babl-format.h
trunk/babl/babl-image.h
trunk/babl/babl-model.h
trunk/babl/babl-sampling.h
trunk/babl/babl-type.h
Modified: trunk/babl/babl-component.h
==============================================================================
--- trunk/babl/babl-component.h (original)
+++ trunk/babl/babl-component.h Sun Jan 18 18:18:19 2009
@@ -16,6 +16,9 @@
* <http://www.gnu.org/licenses/>.
*/
+#ifndef _BABL_COMPONENT_H
+#define _BABL_COMPONENT_H
+
#ifndef _BABL_H
#error this file is only to be included by babl.h
#endif
@@ -43,3 +46,5 @@
int chroma;
int alpha;
} BablComponent;
+
+#endif
Modified: trunk/babl/babl-conversion.h
==============================================================================
--- trunk/babl/babl-conversion.h (original)
+++ trunk/babl/babl-conversion.h Sun Jan 18 18:18:19 2009
@@ -16,6 +16,9 @@
* <http://www.gnu.org/licenses/>.
*/
+#ifndef _BABL_CONVERSION_H
+#define _BABL_CONVERSION_H
+
#ifndef _BABL_H
#error this file is only to be included by babl.h
#endif
@@ -77,3 +80,5 @@
int processings;
long pixels;
} BablConversion;
+
+#endif
Modified: trunk/babl/babl-extension.h
==============================================================================
--- trunk/babl/babl-extension.h (original)
+++ trunk/babl/babl-extension.h Sun Jan 18 18:18:19 2009
@@ -16,6 +16,9 @@
* <http://www.gnu.org/licenses/>.
*/
+#ifndef _BABL_EXTENSION_H
+#define _BABL_EXTENSION_H
+
#ifndef _BABL_H
#error this file is only to be included by babl.h
#endif
@@ -40,3 +43,5 @@
void *dl_handle;
void (*destroy) (void);
} BablExtension;
+
+#endif
Modified: trunk/babl/babl-fish.h
==============================================================================
--- trunk/babl/babl-fish.h (original)
+++ trunk/babl/babl-fish.h Sun Jan 18 18:18:19 2009
@@ -16,6 +16,9 @@
* <http://www.gnu.org/licenses/>.
*/
+#ifndef _BABL_FISH_H
+#define _BABL_FISH_H
+
#ifndef _BABL_H
#error this file is only to be included by babl.h
#endif
@@ -101,3 +104,5 @@
{
BablFish fish;
} BablFishReference;
+
+#endif
Modified: trunk/babl/babl-format.h
==============================================================================
--- trunk/babl/babl-format.h (original)
+++ trunk/babl/babl-format.h Sun Jan 18 18:18:19 2009
@@ -16,6 +16,9 @@
* <http://www.gnu.org/licenses/>.
*/
+#ifndef _BABL_FORMAT_H
+#define _BABL_FORMAT_H
+
#ifndef _BABL_H
#error this file is only to be included by babl.h
#endif
@@ -67,3 +70,5 @@
int visited; /* for convenience in code while searching
for conversion paths */
} BablFormat;
+
+#endif
Modified: trunk/babl/babl-image.h
==============================================================================
--- trunk/babl/babl-image.h (original)
+++ trunk/babl/babl-image.h Sun Jan 18 18:18:19 2009
@@ -16,6 +16,9 @@
* <http://www.gnu.org/licenses/>.
*/
+#ifndef _BABL_IMAGE_H
+#define _BABL_IMAGE_H
+
#ifndef _BABL_H
#error this file is only to be included by babl.h
#endif
@@ -57,3 +60,5 @@
int *pitch;
int *stride;
} BablImage;
+
+#endif
Modified: trunk/babl/babl-model.h
==============================================================================
--- trunk/babl/babl-model.h (original)
+++ trunk/babl/babl-model.h Sun Jan 18 18:18:19 2009
@@ -16,6 +16,9 @@
* <http://www.gnu.org/licenses/>.
*/
+#ifndef _BABL_MODEL_H
+#define _BABL_MODEL_H
+
#ifndef _BABL_H
#error this file is only to be included by babl.h
#endif
@@ -50,3 +53,5 @@
BablType **type; /*< must be doubles,
used here for convenience in code */
} BablModel;
+
+#endif
Modified: trunk/babl/babl-sampling.h
==============================================================================
--- trunk/babl/babl-sampling.h (original)
+++ trunk/babl/babl-sampling.h Sun Jan 18 18:18:19 2009
@@ -16,6 +16,9 @@
* <http://www.gnu.org/licenses/>.
*/
+#ifndef _BABL_SAMPLING_H
+#define _BABL_SAMPLING_H
+
#ifndef _BABL_H
#error this file is only to be included by babl.h
#endif
@@ -34,3 +37,5 @@
int vertical;
char name[4];
} BablSampling;
+
+#endif
Modified: trunk/babl/babl-type.h
==============================================================================
--- trunk/babl/babl-type.h (original)
+++ trunk/babl/babl-type.h Sun Jan 18 18:18:19 2009
@@ -16,6 +16,9 @@
* <http://www.gnu.org/licenses/>.
*/
+#ifndef _BABL_TYPE_H
+#define _BABL_TYPE_H
+
#ifndef _BABL_H
#error this file is only to be included by babl.h
#endif
@@ -67,3 +70,5 @@
* biased_exponent
* mantissa */
} BablTypeFloat;
+
+#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]