forked from epics_driver_modules/motorBase
Added static keyword to sendOnly and sendAndReceive
This commit is contained in:
1 parent
1e4c1bfa42
commit
2cd4f8f442
1 file changed
+2
-2
@@ -698,7 +698,7 @@ int MM4000AsynConfig(int card, /* Controller number */
|
||||
return MOTOR_AXIS_OK;
|
||||
}
|
||||
|
||||
int sendOnly(MM4000Controller *pController, char *outputBuff)
|
||||
static int sendOnly(MM4000Controller *pController, char *outputBuff)
|
||||
{
|
||||
int nRequested=strlen(outputBuff);
|
||||
int nActual;
|
||||
@@ -716,7 +716,7 @@ int sendOnly(MM4000Controller *pController, char *outputBuff)
|
||||
}
|
||||
|
||||
|
||||
int sendAndReceive(MM4000Controller *pController, char *outputBuff, char *inputBuff, int inputSize)
|
||||
static int sendAndReceive(MM4000Controller *pController, char *outputBuff, char *inputBuff, int inputSize)
|
||||
{
|
||||
int nWriteRequested=strlen(outputBuff);
|
||||
int nWrite;
|
||||
|
||||
Reference in new issue
Block a user