diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-10-09 03:21:04 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-10-13 02:35:18 -0400 |
commit | f0ba607551a855f3296680b7fb250a3a5bfebada (patch) | |
tree | 2b34385fded55990811f52df26c95877f714302c /src/import/chips | |
parent | a882b4f50c6c9c833641f3a7c29dc6d1865dea81 (diff) | |
download | talos-sbe-f0ba607551a855f3296680b7fb250a3a5bfebada.tar.gz talos-sbe-f0ba607551a855f3296680b7fb250a3a5bfebada.zip |
Use compiler definition for size_t
We get multiple definition issues if we include ppe42_string.h
as stddef.h also has defined size_t
Change-Id: I44ec000db4df176f36d185842dd8057b2b03e28d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48101
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48123
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips')
-rw-r--r-- | src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_string.h b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_string.h index 65fd3db7..d71119ad 100644 --- a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_string.h +++ b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_string.h @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016 */ +/* Contributors Listed Below - COPYRIGHT 2016,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -26,7 +26,7 @@ #define __STRING_H #include <stdint.h> -typedef uint32_t size_t; +#include <stddef.h> #ifndef NULL #ifdef __cplusplus |