Staging: epl: run Lindent on all kernel/*.h files

It's a start, still a mess...

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg Kroah-Hartman 2008-12-19 17:06:12 -08:00
Родитель 9d7164cfdb
Коммит ba338d4626
13 изменённых файлов: 144 добавлений и 199 удалений

Просмотреть файл

@ -66,7 +66,6 @@
2006/06/08 d.k.: start of the implementation, version 1.00
****************************************************************************/
#ifndef _EPL_DLLK_H_
@ -79,15 +78,13 @@
// const defines
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
typedef tEplKernel(*tEplDllkCbAsync) (tEplFrameInfo * pFrameInfo_p);
typedef struct
{
typedef struct {
BYTE m_be_abSrcMac[6];
} tEplDllkInitParam;
@ -95,8 +92,7 @@ typedef struct
// forward declaration
struct _tEdrvTxBuffer;
struct _tEplDllkNodeInfo
{
struct _tEplDllkNodeInfo {
struct _tEplDllkNodeInfo *m_pNextNodeInfo;
struct _tEdrvTxBuffer *m_pPreqTxBuffer;
unsigned int m_uiNodeId;
@ -138,7 +134,8 @@ tEplKernel EplDllkRegAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p);
tEplKernel EplDllkDeregAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p);
// register C_DLL_MULTICAST_ASND in ethernet driver if any AsndServiceId is registered
tEplKernel EplDllkSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p, tEplDllAsndFilter Filter_p);
tEplKernel EplDllkSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p,
tEplDllAsndFilter Filter_p);
// creates the buffer for a Tx frame and registers it to the ethernet driver
tEplKernel EplDllkCreateTxFrame(unsigned int *puiHandle_p,
@ -149,7 +146,6 @@ tEplKernel EplDllkCreateTxFrame(unsigned int * puiHandle_p,
tEplKernel EplDllkDeleteTxFrame(unsigned int uiHandle_p);
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
tEplKernel EplDllkAddNode(tEplDllNodeInfo * pNodeInfo_p);
@ -167,5 +163,3 @@ tEplKernel EplDllkGetFirstNodeInfo(tEplDllkNodeInfo** ppNodeInfo_p);
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
#endif // #ifndef _EPL_DLLK_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/06/13 d.k.: start of the implementation, version 1.00
****************************************************************************/
#ifndef _EPL_DLLKCAL_H_
@ -83,8 +82,7 @@
// typedef
//---------------------------------------------------------------------------
typedef struct
{
typedef struct {
unsigned long m_ulCurTxFrameCountGen;
unsigned long m_ulCurTxFrameCountNmt;
unsigned long m_ulCurRxFrameCount;
@ -104,12 +102,16 @@ tEplKernel EplDllkCalAddInstance(void);
tEplKernel EplDllkCalDelInstance(void);
tEplKernel EplDllkCalAsyncGetTxCount(tEplDllAsyncReqPriority * pPriority_p, unsigned int * puiCount_p);
tEplKernel EplDllkCalAsyncGetTxFrame(void * pFrame_p, unsigned int * puiFrameSize_p, tEplDllAsyncReqPriority Priority_p);
tEplKernel EplDllkCalAsyncGetTxCount(tEplDllAsyncReqPriority * pPriority_p,
unsigned int *puiCount_p);
tEplKernel EplDllkCalAsyncGetTxFrame(void *pFrame_p,
unsigned int *puiFrameSize_p,
tEplDllAsyncReqPriority Priority_p);
// only frames with registered AsndServiceIds are passed to CAL
tEplKernel EplDllkCalAsyncFrameReceived(tEplFrameInfo * pFrameInfo_p);
tEplKernel EplDllkCalAsyncSend(tEplFrameInfo * pFrameInfo_p, tEplDllAsyncReqPriority Priority_p);
tEplKernel EplDllkCalAsyncSend(tEplFrameInfo * pFrameInfo_p,
tEplDllAsyncReqPriority Priority_p);
tEplKernel EplDllkCalAsyncClearBuffer(void);
@ -121,16 +123,19 @@ tEplKernel EplDllkCalProcess(tEplEvent * pEvent_p);
tEplKernel EplDllkCalAsyncClearQueues(void);
tEplKernel EplDllkCalIssueRequest(tEplDllReqServiceId Service_p, unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
tEplKernel EplDllkCalIssueRequest(tEplDllReqServiceId Service_p,
unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
tEplKernel EplDllkCalAsyncGetSoaRequest(tEplDllReqServiceId* pReqServiceId_p, unsigned int* puiNodeId_p);
tEplKernel EplDllkCalAsyncGetSoaRequest(tEplDllReqServiceId * pReqServiceId_p,
unsigned int *puiNodeId_p);
tEplKernel EplDllkCalAsyncSetPendingRequests(unsigned int uiNodeId_p, tEplDllAsyncReqPriority AsyncReqPrio_p, unsigned int uiCount_p);
tEplKernel EplDllkCalAsyncSetPendingRequests(unsigned int uiNodeId_p,
tEplDllAsyncReqPriority
AsyncReqPrio_p,
unsigned int uiCount_p);
#endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
#endif // #ifndef _EPL_DLLKCAL_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/10/02 d.k.: start of the implementation, version 1.00
****************************************************************************/
#ifndef _EPL_ERRORHANDLERK_H_
@ -98,7 +97,4 @@ tEplKernel PUBLIC EplErrorHandlerkDelInstance(void);
// processes error events
tEplKernel PUBLIC EplErrorHandlerkProcess(tEplEvent * pEvent_p);
#endif // #ifndef _EPL_ERRORHANDLERK_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/06/12 d.k.: start of the implementation, version 1.00
****************************************************************************/
#ifndef _EPL_EVENTK_H_
@ -104,11 +103,6 @@ tEplKernel PUBLIC EplEventkPost(tEplEvent * pEvent_p);
// post errorevents from kernelspace
tEplKernel PUBLIC EplEventkPostError(tEplEventSource EventSource_p,
tEplKernel EplError_p,
unsigned int uiArgSize_p,
void* pArg_p);
unsigned int uiArgSize_p, void *pArg_p);
#endif // #ifndef _EPL_EVENTK_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/06/09 k.t.: start of the implementation
****************************************************************************/
#ifndef _EPLNMTK_H_
@ -75,36 +74,32 @@
#include "../EplNmt.h"
#include "EplEventk.h"
//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0)
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR);
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
EPLDLLEXPORT tEplKernel PUBLIC
EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
EPLDLLEXPORT tEplKernel PUBLIC
EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_
tEplEvent * pEvent_p);
EPLDLLEXPORT tEplNmtState PUBLIC EplNmtkGetNmtState(EPL_MCO_DECL_PTR_INSTANCE_PTR);
EPLDLLEXPORT tEplNmtState PUBLIC
EplNmtkGetNmtState(EPL_MCO_DECL_PTR_INSTANCE_PTR);
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0)
#endif // #ifndef _EPLNMTK_H_

Просмотреть файл

@ -67,7 +67,6 @@
2006/06/16 -k.t.: start of the implementation
****************************************************************************/
#include "EplNmtk.h"
@ -75,22 +74,16 @@
#ifndef _EPLNMTKCAL_H_
#define _EPLNMTKCAL_H_
//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
#endif // #ifndef _EPLNMTKCAL_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/06/19 k.t.: start of the implementation
****************************************************************************/
#include "../EplObd.h"
@ -74,12 +73,10 @@
#ifndef _EPLOBDK_H_
#define _EPLOBDK_H_
//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
@ -100,7 +97,8 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObdInit (EPL_MCO_DECL_PTR_INSTANCE_PTR_
// ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObdAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR_
tEplObdInitParam MEM* pInitParam_p);
tEplObdInitParam MEM *
pInitParam_p);
// ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObdDeleteInstance(EPL_MCO_DECL_INSTANCE_PTR);
@ -120,7 +118,8 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObdReadEntry (EPL_MCO_DECL_INSTANCE_PTR_
tEplObdSize * pSize_p);
// ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObdSetStoreLoadObjCallback (EPL_MCO_DECL_INSTANCE_PTR_
EPLDLLEXPORT tEplKernel PUBLIC
EplObdSetStoreLoadObjCallback(EPL_MCO_DECL_INSTANCE_PTR_
tEplObdStoreLoadObjCallback fpCallback_p);
// ---------------------------------------------------------------------
@ -143,7 +142,8 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObdRegisterUserOd (EPL_MCO_DECL_INSTANCE_PTR_
// ---------------------------------------------------------------------
EPLDLLEXPORT void PUBLIC EplObdInitVarEntry(EPL_MCO_DECL_INSTANCE_PTR_
tEplObdVarEntry MEM * pVarEntry_p,
tEplObdType Type_p, tEplObdSize ObdSize_p);
tEplObdType Type_p,
tEplObdSize ObdSize_p);
// ---------------------------------------------------------------------
EPLDLLEXPORT tEplObdSize PUBLIC EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_
@ -181,16 +181,16 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObdReadEntryToLe (EPL_MCO_DECL_INSTANCE_PTR_
EPLDLLEXPORT tEplKernel PUBLIC EplObdGetAccessType(EPL_MCO_DECL_INSTANCE_PTR_
unsigned int uiIndex_p,
unsigned int uiSubIndex_p,
tEplObdAccess* pAccessTyp_p);
tEplObdAccess *
pAccessTyp_p);
// ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObdSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_
unsigned int uiIndex_p,
unsigned int uiSubindex_p,
tEplObdVarEntry MEM** ppVarEntry_p);
tEplObdVarEntry MEM **
ppVarEntry_p);
#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
#endif // #ifndef _EPLOBDK_H_

Просмотреть файл

@ -67,7 +67,6 @@
2006/06/19 k.t.: start of the implementation
****************************************************************************/
#include "../EplObd.h"
@ -75,22 +74,16 @@
#ifndef _EPLOBDKCAL_H_
#define _EPLOBDKCAL_H_
//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
#endif // #ifndef _EPLOBDKCAL_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/05/22 d.k.: start of the implementation, version 1.00
****************************************************************************/
#ifndef _EPL_PDOK_H_
@ -80,12 +79,10 @@
// const defines
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
@ -110,7 +107,4 @@ tEplKernel EplPdokAddInstance(void);
tEplKernel EplPdokDelInstance(void);
#endif // #ifndef _EPL_PDOK_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/06/26 d.k.: start of the implementation, version 1.00
****************************************************************************/
#ifndef _EPL_PDOKCAL_H_
@ -79,12 +78,10 @@
// const defines
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
@ -99,8 +96,4 @@ tEplKernel EplPdokCalSetTpdosValid(BOOL fValid_p);
// gets flag for validity of TPDOs from shared memory
tEplKernel EplPdokCalAreTpdosValid(BOOL * pfValid_p);
#endif // #ifndef _EPL_PDOKCAL_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/09/29 d.k.: start of the implementation
****************************************************************************/
#include "../EplTimer.h"
@ -82,7 +81,6 @@
// typedef
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
@ -101,12 +99,11 @@ tEplKernel PUBLIC EplTimerHighReskSetTimerNs(tEplTimerHdl* pTimerHdl_p,
tEplKernel PUBLIC EplTimerHighReskModifyTimerNs(tEplTimerHdl * pTimerHdl_p,
unsigned long long ullTimeNs_p,
tEplTimerkCallback pfnCallback_p,
tEplTimerkCallback
pfnCallback_p,
unsigned long ulArgument_p,
BOOL fContinuously_p);
tEplKernel PUBLIC EplTimerHighReskDeleteTimer(tEplTimerHdl * pTimerHdl_p);
#endif // #ifndef _EPLTIMERHIGHRESK_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/07/06 k.t.: start of the implementation
****************************************************************************/
#include "../EplTimer.h"
@ -96,7 +95,6 @@
// typedef
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
@ -118,5 +116,3 @@ tEplKernel PUBLIC EplTimerkModifyTimerMs(tEplTimerHdl* pTimerHdl_p,
tEplKernel PUBLIC EplTimerkDeleteTimer(tEplTimerHdl * pTimerHdl_p);
#endif
#endif // #ifndef _EPLTIMERK_H_

Просмотреть файл

@ -66,7 +66,6 @@
2006/09/19 d.k.: start of the implementation, version 1.00
****************************************************************************/
#ifndef _EPL_VETH_H_
@ -78,12 +77,10 @@
// const defines
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
@ -97,5 +94,3 @@ tEplKernel PUBLIC VEthDelInstance(void);
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_VETH)) != 0)
#endif // #ifndef _EPL_VETH_H_