Skip to content
This repository
Browse code

mexutils.h: adds missing static keyword

  • Loading branch information...
commit 8addba636414f12bd6f051bdb57926c0ab6c66a3 1 parent 781319c
Andrea Vedaldi authored June 08, 2011

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  toolbox/mexutils.h
8  toolbox/mexutils.h
@@ -263,10 +263,10 @@ typedef enum _VlmxErrorId {
263 263
  ** the MEX file to abort.
264 264
  **/
265 265
 
266  
-#ifdef VL_COMPILER_GNUC & ! defined(__DOXYGEN__)
267  
-void __attribute__((noreturn))
  266
+#if defined(VL_COMPILER_GNUC) & ! defined(__DOXYGEN__)
  267
+static void __attribute__((noreturn))
268 268
 #else
269  
-void
  269
+static void
270 270
 #endif
271 271
 vlmxError (VlmxErrorId errorId, char const * errorMessage, ...)
272 272
 {
@@ -282,7 +282,7 @@ vlmxError (VlmxErrorId errorId, char const * errorMessage, ...)
282 282
  ** The function internally calls @c mxWarnMsgTxtAndId.
283 283
  **/
284 284
 
285  
-void
  285
+static void
286 286
 vlmxWarning (VlmxErrorId errorId, char const * errorMessage, ...)
287 287
 {
288 288
   MEXUTILS_RAISE_HELPER ;

0 notes on commit 8addba6

Please sign in to comment.
Something went wrong with that request. Please try again.