You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Dean Gaudet <dg...@hyperreal.org> on 1997/10/07 08:25:01 UTC

cvs commit: apachen/src/main httpd.h

dgaudet     97/10/06 23:24:57

  Modified:    src/main httpd.h
  Log:
  yet more __attribute__ goodness, let gcc lint us better
  
  Revision  Changes    Path
  1.151     +2 -1      apachen/src/main/httpd.h
  
  Index: httpd.h
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/main/httpd.h,v
  retrieving revision 1.150
  retrieving revision 1.151
  diff -u -r1.150 -r1.151
  --- httpd.h	1997/09/26 03:52:10	1.150
  +++ httpd.h	1997/10/07 06:24:55	1.151
  @@ -883,7 +883,8 @@
   /*
    * Redefine assert() to something more useful for an Apache...
    */
  -API_EXPORT(void) log_assert(const char *szExp, const char *szFile, int nLine);
  +API_EXPORT(void) log_assert(const char *szExp, const char *szFile, int nLine)
  +			    __attribute__((noreturn));
   #define ap_assert(exp) (void)( (exp) || (log_assert(#exp, __FILE__, __LINE__), 0) )
   
   /* The optimized timeout code only works if we're not MULTITHREAD and we're