Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mexutils.h: adds missing static keyword

  • Loading branch information...
commit 8addba636414f12bd6f051bdb57926c0ab6c66a3 1 parent 781319c
Andrea Vedaldi vedaldi authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 toolbox/mexutils.h
8 toolbox/mexutils.h
View
@@ -263,10 +263,10 @@ typedef enum _VlmxErrorId {
** the MEX file to abort.
**/
-#ifdef VL_COMPILER_GNUC & ! defined(__DOXYGEN__)
-void __attribute__((noreturn))
+#if defined(VL_COMPILER_GNUC) & ! defined(__DOXYGEN__)
+static void __attribute__((noreturn))
#else
-void
+static void
#endif
vlmxError (VlmxErrorId errorId, char const * errorMessage, ...)
{
@@ -282,7 +282,7 @@ vlmxError (VlmxErrorId errorId, char const * errorMessage, ...)
** The function internally calls @c mxWarnMsgTxtAndId.
**/
-void
+static void
vlmxWarning (VlmxErrorId errorId, char const * errorMessage, ...)
{
MEXUTILS_RAISE_HELPER ;
Please sign in to comment.
Something went wrong with that request. Please try again.