diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-23 13:45:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 17:54:20 -0400 |
commit | d10f46992fb59de804550999806e1e0c0aa335a8 (patch) | |
tree | e407c5b339b56b311faef2577e17c1b98da4bb46 /drivers/staging/epl/Epl.h | |
parent | 335914e315103100dd27a648744fd2440d31075d (diff) |
Staging: epl: remove PUBLIC definition
It doesn't make sense here, so delete it.
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>
Diffstat (limited to 'drivers/staging/epl/Epl.h')
-rw-r--r-- | drivers/staging/epl/Epl.h | 87 |
1 files changed, 43 insertions, 44 deletions
diff --git a/drivers/staging/epl/Epl.h b/drivers/staging/epl/Epl.h index be60f771b63..6e5910d1915 100644 --- a/drivers/staging/epl/Epl.h +++ b/drivers/staging/epl/Epl.h | |||
@@ -131,9 +131,9 @@ typedef union { | |||
131 | 131 | ||
132 | } tEplApiEventArg; | 132 | } tEplApiEventArg; |
133 | 133 | ||
134 | typedef tEplKernel(PUBLIC ROM * tEplApiCbEvent) (tEplApiEventType EventType_p, // IN: event type (enum) | 134 | typedef tEplKernel(ROM *tEplApiCbEvent) (tEplApiEventType EventType_p, // IN: event type (enum) |
135 | tEplApiEventArg * pEventArg_p, // IN: event argument (union) | 135 | tEplApiEventArg *pEventArg_p, // IN: event argument (union) |
136 | void GENERIC * pUserArg_p); | 136 | void GENERIC *pUserArg_p); |
137 | 137 | ||
138 | typedef struct { | 138 | typedef struct { |
139 | unsigned int m_uiSizeOfStruct; | 139 | unsigned int m_uiSizeOfStruct; |
@@ -212,62 +212,61 @@ typedef struct { | |||
212 | // function prototypes | 212 | // function prototypes |
213 | //--------------------------------------------------------------------------- | 213 | //--------------------------------------------------------------------------- |
214 | 214 | ||
215 | tEplKernel PUBLIC EplApiInitialize(tEplApiInitParam * pInitParam_p); | 215 | tEplKernel EplApiInitialize(tEplApiInitParam *pInitParam_p); |
216 | 216 | ||
217 | tEplKernel PUBLIC EplApiShutdown(void); | 217 | tEplKernel EplApiShutdown(void); |
218 | 218 | ||
219 | tEplKernel PUBLIC EplApiReadObject(tEplSdoComConHdl * pSdoComConHdl_p, | 219 | tEplKernel EplApiReadObject(tEplSdoComConHdl *pSdoComConHdl_p, |
220 | unsigned int uiNodeId_p, | 220 | unsigned int uiNodeId_p, |
221 | unsigned int uiIndex_p, | 221 | unsigned int uiIndex_p, |
222 | unsigned int uiSubindex_p, | 222 | unsigned int uiSubindex_p, |
223 | void *pDstData_le_p, | 223 | void *pDstData_le_p, |
224 | unsigned int *puiSize_p, | 224 | unsigned int *puiSize_p, |
225 | tEplSdoType SdoType_p, void *pUserArg_p); | 225 | tEplSdoType SdoType_p, void *pUserArg_p); |
226 | 226 | ||
227 | tEplKernel PUBLIC EplApiWriteObject(tEplSdoComConHdl * pSdoComConHdl_p, | 227 | tEplKernel EplApiWriteObject(tEplSdoComConHdl *pSdoComConHdl_p, |
228 | unsigned int uiNodeId_p, | 228 | unsigned int uiNodeId_p, |
229 | unsigned int uiIndex_p, | 229 | unsigned int uiIndex_p, |
230 | unsigned int uiSubindex_p, | 230 | unsigned int uiSubindex_p, |
231 | void *pSrcData_le_p, | 231 | void *pSrcData_le_p, |
232 | unsigned int uiSize_p, | 232 | unsigned int uiSize_p, |
233 | tEplSdoType SdoType_p, void *pUserArg_p); | 233 | tEplSdoType SdoType_p, void *pUserArg_p); |
234 | 234 | ||
235 | tEplKernel PUBLIC EplApiFreeSdoChannel(tEplSdoComConHdl SdoComConHdl_p); | 235 | tEplKernel EplApiFreeSdoChannel(tEplSdoComConHdl SdoComConHdl_p); |
236 | 236 | ||
237 | tEplKernel PUBLIC EplApiReadLocalObject(unsigned int uiIndex_p, | 237 | tEplKernel EplApiReadLocalObject(unsigned int uiIndex_p, |
238 | unsigned int uiSubindex_p, | 238 | unsigned int uiSubindex_p, |
239 | void *pDstData_p, | 239 | void *pDstData_p, |
240 | unsigned int *puiSize_p); | 240 | unsigned int *puiSize_p); |
241 | 241 | ||
242 | tEplKernel PUBLIC EplApiWriteLocalObject(unsigned int uiIndex_p, | 242 | tEplKernel EplApiWriteLocalObject(unsigned int uiIndex_p, |
243 | unsigned int uiSubindex_p, | 243 | unsigned int uiSubindex_p, |
244 | void *pSrcData_p, | 244 | void *pSrcData_p, |
245 | unsigned int uiSize_p); | 245 | unsigned int uiSize_p); |
246 | 246 | ||
247 | tEplKernel PUBLIC EplApiCbObdAccess(tEplObdCbParam MEM * pParam_p); | 247 | tEplKernel EplApiCbObdAccess(tEplObdCbParam MEM *pParam_p); |
248 | 248 | ||
249 | tEplKernel PUBLIC EplApiLinkObject(unsigned int uiObjIndex_p, | 249 | tEplKernel EplApiLinkObject(unsigned int uiObjIndex_p, |
250 | void *pVar_p, | 250 | void *pVar_p, |
251 | unsigned int *puiVarEntries_p, | 251 | unsigned int *puiVarEntries_p, |
252 | tEplObdSize * pEntrySize_p, | 252 | tEplObdSize *pEntrySize_p, |
253 | unsigned int uiFirstSubindex_p); | 253 | unsigned int uiFirstSubindex_p); |
254 | 254 | ||
255 | tEplKernel PUBLIC EplApiExecNmtCommand(tEplNmtEvent NmtEvent_p); | 255 | tEplKernel EplApiExecNmtCommand(tEplNmtEvent NmtEvent_p); |
256 | 256 | ||
257 | tEplKernel PUBLIC EplApiProcess(void); | 257 | tEplKernel EplApiProcess(void); |
258 | 258 | ||
259 | #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) | 259 | #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) |
260 | tEplKernel PUBLIC EplApiMnTriggerStateChange(unsigned int uiNodeId_p, | 260 | tEplKernel EplApiMnTriggerStateChange(unsigned int uiNodeId_p, |
261 | tEplNmtNodeCommand NodeCommand_p); | 261 | tEplNmtNodeCommand NodeCommand_p); |
262 | #endif | 262 | #endif |
263 | 263 | ||
264 | tEplKernel PUBLIC EplApiGetIdentResponse(unsigned int uiNodeId_p, | 264 | tEplKernel EplApiGetIdentResponse(unsigned int uiNodeId_p, |
265 | tEplIdentResponse ** | 265 | tEplIdentResponse **ppIdentResponse_p); |
266 | ppIdentResponse_p); | ||
267 | 266 | ||
268 | // functions for process image will be implemented in separate file | 267 | // functions for process image will be implemented in separate file |
269 | tEplKernel PUBLIC EplApiProcessImageSetup(void); | 268 | tEplKernel EplApiProcessImageSetup(void); |
270 | tEplKernel PUBLIC EplApiProcessImageExchangeIn(tEplApiProcessImage * pPI_p); | 269 | tEplKernel EplApiProcessImageExchangeIn(tEplApiProcessImage *pPI_p); |
271 | tEplKernel PUBLIC EplApiProcessImageExchangeOut(tEplApiProcessImage * pPI_p); | 270 | tEplKernel EplApiProcessImageExchangeOut(tEplApiProcessImage *pPI_p); |
272 | 271 | ||
273 | #endif // #ifndef _EPL_API_H_ | 272 | #endif // #ifndef _EPL_API_H_ |