Module: xenomai-forge
Branch: master
Commit: cf9c023b33e7c87b57ddb28d0e550ca93b5232c5
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=cf9c023b33e7c87b57ddb28d0e550ca93b5232c5

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Aug 16 17:21:49 2013 +0200

lib/cobalt: rename internal header

---

 lib/cobalt/Makefile.am           |    2 +-
 lib/cobalt/Makefile.in           |    2 +-
 lib/cobalt/init.c                |    2 +-
 lib/cobalt/{linkage.h => init.h} |    8 +++++---
 4 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/lib/cobalt/Makefile.am b/lib/cobalt/Makefile.am
index 3364479..ea96ef0 100644
--- a/lib/cobalt/Makefile.am
+++ b/lib/cobalt/Makefile.am
@@ -2,8 +2,8 @@ pkgconfigdir = $(libdir)/pkgconfig
 
 noinst_HEADERS =       \
        current.h       \
-       linkage.h       \
        sem_heap.h      \
+       init.h          \
        internal.h
 
 lib_LTLIBRARIES = libcobalt.la
diff --git a/lib/cobalt/Makefile.in b/lib/cobalt/Makefile.in
index 755e00e..0137ae7 100644
--- a/lib/cobalt/Makefile.in
+++ b/lib/cobalt/Makefile.in
@@ -345,8 +345,8 @@ top_srcdir = @top_srcdir@
 pkgconfigdir = $(libdir)/pkgconfig
 noinst_HEADERS = \
        current.h       \
-       linkage.h       \
        sem_heap.h      \
+       init.h          \
        internal.h
 
 lib_LTLIBRARIES = libcobalt.la
diff --git a/lib/cobalt/init.c b/lib/cobalt/init.c
index 0e539af..c807b98 100644
--- a/lib/cobalt/init.c
+++ b/lib/cobalt/init.c
@@ -31,7 +31,7 @@
 #include <asm/xenomai/syscall.h>
 #include "sem_heap.h"
 #include "internal.h"
-#include "linkage.h"
+#include "init.h"
 
 __attribute__ ((weak))
 int __cobalt_defer_init = 0;
diff --git a/lib/cobalt/linkage.h b/lib/cobalt/init.h
similarity index 91%
rename from lib/cobalt/linkage.h
rename to lib/cobalt/init.h
index f650bf5..6ad895f 100644
--- a/lib/cobalt/linkage.h
+++ b/lib/cobalt/init.h
@@ -15,8 +15,8 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
  */
-#ifndef _LIB_COBALT_LINKAGE_H
-#define _LIB_COBALT_LINKAGE_H
+#ifndef _LIB_COBALT_INIT_H
+#define _LIB_COBALT_INIT_H
 
 /*
  * We give the Cobalt library constructor a high priority, so that
@@ -33,4 +33,6 @@ void __libcobalt_init(void);
 
 extern int __cobalt_defer_init;
 
-#endif /* _LIB_COBALT_LINKAGE_H */
+extern int __cobalt_main_prio;
+
+#endif /* _LIB_COBALT_INIT_H */


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to