[coreboot-gerrit] Change in coreboot[master]: commonlib/helpers.h: Include stddef.h

Jonathan Neuschäfer (Code Review) gerrit at coreboot.org
Mon Oct 30 19:38:21 CET 2017


Jonathan Neuschäfer has uploaded a new patch set (#2). ( https://review.coreboot.org/22230 )

Change subject: commonlib/helpers.h: Include stddef.h
......................................................................

commonlib/helpers.h: Include stddef.h

The definition of offsetof() uses size_t, which is declared in stddef.h,
according to POSIX. Include stddef.h directly to avoid relying on
implicit inclusion.

Change-Id: I221be02c332de55c9fcf7d86673709ed43dd5c3c
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
M src/commonlib/include/commonlib/helpers.h
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/22230/2
-- 
To view, visit https://review.coreboot.org/22230
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I221be02c332de55c9fcf7d86673709ed43dd5c3c
Gerrit-Change-Number: 22230
Gerrit-PatchSet: 2
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171030/3976a235/attachment.html>


More information about the coreboot-gerrit mailing list