[Heimdal-source-changes] [heimdal/heimdal] 73915c: WIN32: hint noreturn functions

GitHub noreply at github.com
Ons Jan 2 17:04:10 CET 2019


  Branch: refs/heads/jaltman/win32-noreturn
  Home:   https://github.com/heimdal/heimdal
  Commit: 73915ccbf9863e734aaa596d0db3c5954673f6b0
      https://github.com/heimdal/heimdal/commit/73915ccbf9863e734aaa596d0db3c5954673f6b0
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-01-02 (Wed, 02 Jan 2019)

  Changed paths:
    M cf/make-proto.pl
    M include/config.h.w32
    M lib/krb5/warn.c
    M lib/roken/err.hin
    M lib/roken/errx.c
    M lib/roken/roken.h.in
    M lib/roken/verrx.c

  Log Message:
  -----------
  WIN32: hint noreturn functions

apply __declspec(noreturn) compiler hints to functions that
do not return.

Change-Id: I3c6c4703c7235d1df3e21dccad5272ea4cddfd36


  Commit: c3665001b3e598defa48e5b516fa65cd40667cf3
      https://github.com/heimdal/heimdal/commit/c3665001b3e598defa48e5b516fa65cd40667cf3
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-01-02 (Wed, 02 Jan 2019)

  Changed paths:
    M include/config.h.w32
    M lib/hx509/NTMakefile
    M lib/hx509/ca.c
    M lib/hx509/cert.c
    M lib/hx509/cms.c
    M lib/hx509/collector.c
    M lib/hx509/crypto-ec.c
    M lib/hx509/crypto.c
    M lib/hx509/env.c
    M lib/hx509/error.c
    M lib/hx509/file.c
    M lib/hx509/keyset.c
    M lib/hx509/ks_dir.c
    M lib/hx509/ks_file.c
    M lib/hx509/ks_keychain.c
    M lib/hx509/ks_mem.c
    M lib/hx509/ks_null.c
    M lib/hx509/ks_p11.c
    M lib/hx509/ks_p12.c
    M lib/hx509/lock.c
    M lib/hx509/name.c
    M lib/hx509/peer.c
    M lib/hx509/print.c
    M lib/hx509/req.c
    M lib/hx509/revoke.c
    M lib/hx509/sel.c

  Log Message:
  -----------
  lib/hx509: declare and apply HX509_LIB_xxx macros

libhx509 is not built according to the same export and calling conventions
on Windows as the other libraries.  This change declares and applies
HX509_LIB_FUNCTION, HX509_LIB_NORETURN_FUNCTION, HX509_LIB_CALL and
HX509_LIB_VARIABLE to lib/hx509.

As a result of this change the calling convention for exported functions
will be __stdcall instead of __cdecl.

Change-Id: Ibc3f05e8088030ef7d13798f1d9c9b190bc57797


Compare: https://github.com/heimdal/heimdal/compare/a2212f293e73...c3665001b3e5
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Heimdal-source-changes mailing list