changeset 21201:88b41a4711e2

maint: Correct names used in #ifdefs to prevent re-loading .h files. * randgamma.h: Correct "octave_radgamma" to "octave_randgamma". * randmtzig.h: Correct "octave__randmtzig_h" to "octave_randmtzig_h". * oct-uname.h: Correct "octave_uname_h" to "octave_oct_uname_h".
author Rik <rik@octave.org>
date Fri, 05 Feb 2016 17:58:24 -0800
parents fcac5dbbf9ed
children f7121e111991
files liboctave/numeric/randgamma.h liboctave/numeric/randmtzig.h liboctave/system/oct-uname.h
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/numeric/randgamma.h	Fri Feb 05 16:29:08 2016 -0800
+++ b/liboctave/numeric/randgamma.h	Fri Feb 05 17:58:24 2016 -0800
@@ -24,7 +24,7 @@
    software in the in the public domain.  */
 
 #if ! defined (octave_randgamma_h)
-#define octave_radgamma_h 1
+#define octave_randgamma_h 1
 
 #ifdef  __cplusplus
 extern "C" {
--- a/liboctave/numeric/randmtzig.h	Fri Feb 05 16:29:08 2016 -0800
+++ b/liboctave/numeric/randmtzig.h	Fri Feb 05 17:58:24 2016 -0800
@@ -62,11 +62,11 @@
 */
 
 #if !defined (octave_randmtzig_h)
-#define octave__randmtzig_h 1
+#define octave_randmtzig_h 1
 
 #define MT_N 624
 
-#ifdef  __cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
--- a/liboctave/system/oct-uname.h	Fri Feb 05 16:29:08 2016 -0800
+++ b/liboctave/system/oct-uname.h	Fri Feb 05 17:58:24 2016 -0800
@@ -21,7 +21,7 @@
 */
 
 #if ! defined (octave_oct_uname_h)
-#define octave_uname_h 1
+#define octave_oct_uname_h 1
 
 #include <string>