[Git][NTPsec/ntpsec][master] libisc: remove ISC_PLATFORM_NORETURN_PRE, it was always empty.
    Gary E. Miller 
    gitlab at mg.gitlab.com
       
    Fri Jun  2 03:47:58 UTC 2017
    
    
  
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
7aaead95 by Gary E. Miller at 2017-06-01T20:47:07-07:00
libisc: remove ISC_PLATFORM_NORETURN_PRE, it was always empty.
- - - - -
4 changed files:
- devel/ifdex-ignores
- include/ntp_assert.h
- libisc/include/isc/error.h
- wscript
Changes:
=====================================
devel/ifdex-ignores
=====================================
--- a/devel/ifdex-ignores
+++ b/devel/ifdex-ignores
@@ -71,7 +71,6 @@ HAVE_LINUX_CAPABILITY
 HAVE_SECCOMP_H
 HAVE_SOLARIS_PRIVS
 ISC_PLATFORM_NORETURN_POST
-ISC_PLATFORM_NORETURN_PRE
 PLATFORM_OPENBSD
 WORDS_BIGENDIAN
 
=====================================
include/ntp_assert.h
=====================================
--- a/include/ntp_assert.h
+++ b/include/ntp_assert.h
@@ -71,7 +71,6 @@ typedef void (*isc_assertioncallback_t)(const char *, int, isc_assertiontype_t,
 					const char *);
 
 /* coverity[+kill] */
-ISC_PLATFORM_NORETURN_PRE
 void isc_assertion_failed(const char *, int, isc_assertiontype_t,
 			  const char *) ISC_PLATFORM_NORETURN_POST;
 
=====================================
libisc/include/isc/error.h
=====================================
--- a/libisc/include/isc/error.h
+++ b/libisc/include/isc/error.h
@@ -30,7 +30,7 @@ isc_error_unexpected(const char *, int, const char *, ...)
      ISC_FORMAT_PRINTF(3, 4);
 
 /*% fatal error */
-ISC_PLATFORM_NORETURN_PRE void
+void
 isc_error_fatal(const char *, int, const char *, ...)
 ISC_FORMAT_PRINTF(3, 4) ISC_PLATFORM_NORETURN_POST;
 
=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -803,7 +803,6 @@ int main(int argc, char **argv) {
 
     # libisc/
     # XXX: Hack that needs to be fixed properly for all platforms
-    ctx.define("ISC_PLATFORM_NORETURN_PRE", "", quote=False)
     ctx.define("ISC_PLATFORM_NORETURN_POST",
                "__attribute__((__noreturn__))", quote=False)
 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7aaead95c4c33afb2c0f0d7596a5d05d1deeecdd
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7aaead95c4c33afb2c0f0d7596a5d05d1deeecdd
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170602/47e1b525/attachment.html>
    
    
More information about the vc
mailing list