Skip to content

C99 related fixes

Ossama Othman ell 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5ell: Use __typeof__ instead of typeof in headers.ell/private.h ell/util.h+5 -51 reply
2/5settings: Include strings.h for strcasecmp() protoell/settings.c+1 -01 reply
3/5dbus-client: Only include required ELL headers.ell/dbus-client.c+3 -11 reply
4/5ell: Make tls-private.h header self-contained.ell/cipher.h ell/tls-private.h+5 -02 replies
5/5tools: Only include required ELL headers.tools/certchain-verify.c+4 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] C99 related fixes

This set of patches addresses some issues related to C library features that were disabled, or were at least affected, by explicitly enabling C99 in gcc via the -std=c99 command line option.

ELL itself won't build cleanly when constrained solely to C99. A successful build in that case requires defining the appropriate feature test macro(s) (e.g. _POSIX_SOURCE, _POSIX_C_SOURCE, etc) either in ELL's config.h header, the build command line, or individual source files that require the disabled C library feature.

Ossama Othman (5):
ell: Use __typeof__ instead of typeof in headers.
settings: Include strings.h for strcasecmp() proto
dbus-client: Only include required ELL headers.
ell: Make tls-private.h header self-contained.
tools: Only include required ELL headers.

 ell/cipher.h             | 1 +
 ell/dbus-client.c        | 4 +++-
 ell/private.h            | 2 +-
 ell/settings.c           | 1 +
 ell/tls-private.h        | 4 ++++
 ell/util.h               | 8 ++++----
 tools/certchain-verify.c | 5 ++++-
 7 files changed, 18 insertions(+), 7 deletions(-)
Signature · 1 line
2.17.1