All pastes #959729 Raw Copy code Copy link Edit

alex

public unlisted text v1 · immutable
#959729 ·published 2008-03-27 17:13 UTC
rendered paste body
Index: hal/classicladder/calc.c
===================================================================
RCS file: /cvs/emc2/src/hal/classicladder/calc.c,v
retrieving revision 1.8
diff -u -r1.8 calc.c
--- hal/classicladder/calc.c	26 Feb 2008 04:33:40 -0000	1.8
+++ hal/classicladder/calc.c	27 Mar 2008 17:12:14 -0000
@@ -22,10 +22,6 @@
 
 #ifdef MODULE
 #include <linux/string.h>
-#ifdef RTAI
-#include "rtai.h"
-#include "rtai_sched.h"
-#endif
 #else
 #include <stdio.h>
 #include <string.h>
Index: hal/classicladder/classicladder.h
===================================================================
RCS file: /cvs/emc2/src/hal/classicladder/classicladder.h,v
retrieving revision 1.12
diff -u -r1.12 classicladder.h
--- hal/classicladder/classicladder.h	26 Feb 2008 04:33:40 -0000	1.12
+++ hal/classicladder/classicladder.h	27 Mar 2008 17:12:14 -0000
@@ -410,8 +410,8 @@
 #define debug_printf rtl_printf
 #endif
 
-#if defined( RTAI ) && defined( MODULE )
-#define debug_printf rt_printk
+#if defined( RTAPI )
+#define debug_printf rtapi_print
 #endif
 
 #ifndef MODULE