From ed476565dd6a2881c3823e92372e2fdee672478c Mon Sep 17 00:00:00 2001 From: Mike Jones Date: Mon, 17 Oct 2011 14:24:16 -0500 Subject: HWPF: Add function pointer to HWP header files Change-Id: I61cd4ac09b19ce585769b52a0657bb19de65ad3c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/438 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES --- src/include/usr/hwpf/hwp/fapiTestHwpAttr.H | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/include/usr/hwpf/hwp/fapiTestHwpAttr.H') diff --git a/src/include/usr/hwpf/hwp/fapiTestHwpAttr.H b/src/include/usr/hwpf/hwp/fapiTestHwpAttr.H index cdf7e6afb..1bb9481b6 100755 --- a/src/include/usr/hwpf/hwp/fapiTestHwpAttr.H +++ b/src/include/usr/hwpf/hwp/fapiTestHwpAttr.H @@ -32,6 +32,7 @@ * ------ -------------- ---------- ----------- ---------------------------- * mjjones 06/30/2011 Created. * mjjones 10/07/2011 Removed target param + * mjjones 10/17/2011 Added func pointer */ #ifndef FAPITESTHWPATTR_H_ @@ -39,8 +40,8 @@ #include -// HWPs are defined as C functions because platforms may wish to package them -// in linux shared libraries which are DL-Opened +typedef fapi::ReturnCode (*hwpTestAttributes_FP_t)(); + extern "C" { @@ -51,6 +52,6 @@ extern "C" */ fapi::ReturnCode hwpTestAttributes(); -} // extern "C" +} -#endif // FAPITESTHWPATTR_H_ +#endif -- cgit v1.2.1