diff options
Diffstat (limited to 'drivers/staging/epl/EplPdokCal.c')
-rw-r--r-- | drivers/staging/epl/EplPdokCal.c | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/drivers/staging/epl/EplPdokCal.c b/drivers/staging/epl/EplPdokCal.c index 0dd9954..f44c475 100644 --- a/drivers/staging/epl/EplPdokCal.c +++ b/drivers/staging/epl/EplPdokCal.c @@ -72,7 +72,6 @@ #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_PDOK)) != 0) - /***************************************************************************/ /* */ /* */ @@ -97,7 +96,6 @@ // local function prototypes //--------------------------------------------------------------------------- - /***************************************************************************/ /* */ /* */ @@ -111,7 +109,6 @@ // /***************************************************************************/ - //=========================================================================// // // // P R I V A T E D E F I N I T I O N S // @@ -126,9 +123,8 @@ // local types //--------------------------------------------------------------------------- -typedef struct -{ - BOOL m_fTpdosValid; +typedef struct { + BOOL m_fTpdosValid; } tEplPdokCalInstance; @@ -136,13 +132,12 @@ typedef struct // local vars //--------------------------------------------------------------------------- -static tEplPdokCalInstance EplPdokCalInstance_g; +static tEplPdokCalInstance EplPdokCalInstance_g; //--------------------------------------------------------------------------- // local function prototypes //--------------------------------------------------------------------------- - //=========================================================================// // // // P U B L I C F U N C T I O N S // @@ -167,9 +162,9 @@ static tEplPdokCalInstance EplPdokCalInstance_g; tEplKernel EplPdokCalAddInstance(void) { - EPL_MEMSET(&EplPdokCalInstance_g, 0, sizeof(EplPdokCalInstance_g)); + EPL_MEMSET(&EplPdokCalInstance_g, 0, sizeof(EplPdokCalInstance_g)); - return kEplSuccessful; + return kEplSuccessful; } //--------------------------------------------------------------------------- @@ -190,10 +185,9 @@ tEplKernel EplPdokCalAddInstance(void) tEplKernel EplPdokCalDelInstance(void) { - return kEplSuccessful; + return kEplSuccessful; } - //--------------------------------------------------------------------------- // // Function: EplPdokCalSetTpdosValid() @@ -212,11 +206,11 @@ tEplKernel EplPdokCalDelInstance(void) tEplKernel EplPdokCalSetTpdosValid(BOOL fValid_p) { -tEplKernel Ret = kEplSuccessful; + tEplKernel Ret = kEplSuccessful; - EplPdokCalInstance_g.m_fTpdosValid = fValid_p; + EplPdokCalInstance_g.m_fTpdosValid = fValid_p; - return Ret; + return Ret; } //--------------------------------------------------------------------------- @@ -236,14 +230,13 @@ tEplKernel Ret = kEplSuccessful; tEplKernel EplPdokCalAreTpdosValid(BOOL * pfValid_p) { -tEplKernel Ret = kEplSuccessful; + tEplKernel Ret = kEplSuccessful; - *pfValid_p = EplPdokCalInstance_g.m_fTpdosValid; + *pfValid_p = EplPdokCalInstance_g.m_fTpdosValid; - return Ret; + return Ret; } - //=========================================================================// // // // P R I V A T E F U N C T I O N S // @@ -271,4 +264,3 @@ tEplKernel Ret = kEplSuccessful; #endif // EOF - |