Permalink
Browse files

mexutils.h: adds missing static keyword

  • Loading branch information...
1 parent 781319c commit 8addba636414f12bd6f051bdb57926c0ab6c66a3 @vedaldi vedaldi committed Jun 8, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 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 ;

0 comments on commit 8addba6

Please sign in to comment.