source: src/libcfa/libhdr/libtools.h @ 0895cba

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 0895cba was 6b0b624, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

change #ifndef to #pragma once

  • Property mode set to 100644
File size: 758 bytes
RevLine 
[78b3f52]1//
2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// ools.h --
8//
9// Author           : Thierry Delisle
10// Created On       : Mon Nov 28 12:27:26 2016
[6b0b624]11// Last Modified By : Peter A. Buhr
12// Last Modified On : Sat Jul 22 10:02:10 2017
13// Update Count     : 1
[78b3f52]14//
15
[6b0b624]16#pragma once
[78b3f52]17
18// void abortf( const char *fmt, ... ) {
19//     abort();
20//     // CONTROL NEVER REACHES HERE!
21// } // libAbort
22
[e464759]23#ifdef __cforall
24extern "C" {
25#endif
26void abortf( const char fmt[], ... ) __attribute__ ((__nothrow__, __leaf__, __noreturn__));
27#ifdef __cforall
28}
29#endif
[78b3f52]30
31// Local Variables: //
32// mode: c //
33// tab-width: 4 //
34// End: //
Note: See TracBrowser for help on using the repository browser.