From 68737fa0c8c8f41937a50052405cd49dc2d4ce2d Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Sat, 11 Feb 2012 00:01:30 +0000 Subject: [PATCH] Removed iostream function calls, don't exist on vxWorks-68040 --- motorApp/NewportSrc/XPSController.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/motorApp/NewportSrc/XPSController.cpp b/motorApp/NewportSrc/XPSController.cpp index 3f215266..ba2cd562 100644 --- a/motorApp/NewportSrc/XPSController.cpp +++ b/motorApp/NewportSrc/XPSController.cpp @@ -79,10 +79,6 @@ Versions: Release 4-5 and higher. LOSS OR DAMAGES. */ -#include -using std::cout; -using std::endl; - #include #include #include @@ -1402,7 +1398,7 @@ asynStatus XPSDisableAutoEnable(const char *XPSName) pC = (XPSController*) findAsynPortDriver(XPSName); if (!pC) { - cout << driverName << "::" << functionName << " Error port " << XPSName << "not found." << endl; + printf("%s:%s: Error port %s not found\n", driverName, functionName, XPSName); return asynError; } @@ -1417,7 +1413,7 @@ asynStatus XPSNoDisableError(const char *XPSName) pC = (XPSController*) findAsynPortDriver(XPSName); if (!pC) { - cout << driverName << "::" << functionName << " Error port " << XPSName << "not found." << endl; + printf("%s:%s: Error port %s not found\n", driverName, functionName, XPSName); return asynError; }