Author: tijl
Date: Fri Oct 25 13:25:49 2013
New Revision: 257112
URL: http://svnweb.freebsd.org/changeset/base/257112

Log:
  MFC r256925:
  
  Add a dummy statement to the beginning of the pthread_cleanup_pop() macro
  to allow a call of the macro to be labelled as in:
  
  label:
    pthread_cleanup_pop();
  
  Reviewed by:  imp

Modified:
  stable/9/include/pthread.h
Directory Properties:
  stable/9/include/   (props changed)

Modified: stable/9/include/pthread.h
==============================================================================
--- stable/9/include/pthread.h  Fri Oct 25 11:44:39 2013        (r257111)
+++ stable/9/include/pthread.h  Fri Oct 25 13:25:49 2013        (r257112)
@@ -175,6 +175,7 @@ int         pthread_barrierattr_setpshared(pthr
                        {
 
 #define                pthread_cleanup_pop(execute)                            
        \
+                               (void)0;                                        
\
                        }                                                       
\
                        __pthread_cleanup_pop_imp(execute);                     
\
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to