changeset 9340:49fe8721bae1

fix include guards
author Kai NODA <nodakai@gmail.com>
date Fri, 12 Jun 2009 06:05:09 -0400
parents c0b104835d0d
children 9fd5c56ce57a
files doc/interpreter/contributors.in src/ChangeLog src/ls-mat4.h src/ov-type-conv.h
diffstat 4 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/contributors.in	Fri Jun 12 11:28:05 2009 +0200
+++ b/doc/interpreter/contributors.in	Fri Jun 12 06:05:09 2009 -0400
@@ -143,6 +143,7 @@
 Al Niessner
 Rick Niles
 Takuji Nishimura
+Kai Noda
 Eric Norum
 Krzesimir Nowak
 Michael O'Brien
--- a/src/ChangeLog	Fri Jun 12 11:28:05 2009 +0200
+++ b/src/ChangeLog	Fri Jun 12 06:05:09 2009 -0400
@@ -1,3 +1,8 @@
+2009-06-12  Kai NODA  <nodakai@gmail.com>
+
+	* ls-mat4.h: Fix include guard
+	* ov-type-conv.h: Add missing include guard.
+
 2009-06-12  Jaroslav Hajek  <highegg@gmail.com>
 
 	* data.cc (BINARY_ASSOC_OP_DEFUN_BODY): New helper macro.
--- a/src/ls-mat4.h	Fri Jun 12 11:28:05 2009 +0200
+++ b/src/ls-mat4.h	Fri Jun 12 06:05:09 2009 -0400
@@ -21,7 +21,7 @@
 */
 
 #if !defined (octave_ls_mat4_h)
-#define octave_ls_mat4 1
+#define octave_ls_mat4_h 1
 
 extern oct_mach_info::float_format
 mopt_digit_to_float_format (int mach);
--- a/src/ov-type-conv.h	Fri Jun 12 11:28:05 2009 +0200
+++ b/src/ov-type-conv.h	Fri Jun 12 06:05:09 2009 -0400
@@ -20,6 +20,9 @@
 
 */
 
+#if !defined (octave_ov_type_conv_h)
+#define octave_ov_type_conv_h 1
+
 static 
 octave_value
 octave_type_conv_body (const octave_value &arg, const std::string& name, int t_result)
@@ -103,6 +106,8 @@
   OCTAVE_TYPE_CONV_BODY3 (NAME, octave_ ## NAME ## _matrix, \
 			  octave_ ## NAME ## _scalar)
 
+#endif
+
 /*
 ;;; Local Variables: ***
 ;;; mode: C++ ***