forked from epics_driver_modules/motorBase
Visual C++ link errors on improper pdbbase declaration.
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
FILENAME... motorUtilAux.cc
|
||||
USAGE... Motor Record Utility Support.
|
||||
|
||||
Version: $Revision: 1.5 $
|
||||
Modified By: $Author: mooney $
|
||||
Last Modified: $Date: 2007-03-20 18:51:30 $
|
||||
Version: $Revision: 1.6 $
|
||||
Modified By: $Author: sluiter $
|
||||
Last Modified: $Date: 2008-09-09 21:25:47 $
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -28,6 +28,7 @@ Last Modified: $Date: 2007-03-20 18:51:30 $
|
||||
* dbGetNRecords().
|
||||
* .02 03-20-07 tmm sprintf() does not include terminating null in num of chars
|
||||
* converted, so getMotorList was not allocating space for it.
|
||||
* .03 09-09-08 rls Visual C++ link errors on improper pdbbase declaration.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
@@ -36,14 +37,13 @@ Last Modified: $Date: 2007-03-20 18:51:30 $
|
||||
#include <dbStaticLib.h>
|
||||
#include <errlog.h>
|
||||
|
||||
#include "dbAccessDefs.h"
|
||||
|
||||
|
||||
/* ----- Function Declarations ----- */
|
||||
char **getMotorList();
|
||||
/* ----- --------------------- ----- */
|
||||
|
||||
/* ----- External Declarations ----- */
|
||||
extern "C" {
|
||||
extern struct dbBase *pdbbase;
|
||||
}
|
||||
extern int numMotors;
|
||||
/* ----- --------------------- ----- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user