diff --git a/src/libCom/misc/cantProceed.h b/src/libCom/misc/cantProceed.h index 9f4dc1cd8..437f96802 100644 --- a/src/libCom/misc/cantProceed.h +++ b/src/libCom/misc/cantProceed.h @@ -1,10 +1,9 @@ /*************************************************************************\ -* Copyright (c) 2002 The University of Chicago, as Operator of Argonne +* Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. -* EPICS BASE Versions 3.13.7 -* and higher are distributed subject to a Software License Agreement found +* EPICS BASE is distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. \*************************************************************************/ #ifndef INCcantProceedh @@ -12,13 +11,14 @@ #include +#include "compilerDependencies.h" #include "shareLib.h" #ifdef __cplusplus extern "C" { #endif -epicsShareFunc void cantProceed(const char *errorMessage, ...); +epicsShareFunc void cantProceed(const char *errorMessage, ...) EPICS_PRINTF_STYLE(1,2); epicsShareFunc void * callocMustSucceed(size_t count, size_t size, const char *errorMessage); epicsShareFunc void * mallocMustSucceed(size_t size, const char *errorMessage);