httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apache-1.3/src/include http_protocol.h
Date Mon, 21 Jan 2002 20:29:12 GMT
wrowe       02/01/21 12:29:12

  Modified:    src/include http_protocol.h
  Log:
    ap_rprintf is implemented as API_EXPORT() in http_protocol.c.
    Therefore, make the prototype and implementation consistant.
  
    The question remains, why no compiler warning/emit?  Because MSVC [my
    version, at least] must have changed all of the ap_fn(foo, ...) decl
    from _stdcall to _cdecl, on it's own!
  
    I suggest our declarations are still borked, but they have worked only
    because MSVC ignored our poor judgement :)
  
  Revision  Changes    Path
  1.55      +1 -1      apache-1.3/src/include/http_protocol.h
  
  Index: http_protocol.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/include/http_protocol.h,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- http_protocol.h	28 Dec 2001 05:03:06 -0000	1.54
  +++ http_protocol.h	21 Jan 2002 20:29:12 -0000	1.55
  @@ -150,7 +150,7 @@
   API_EXPORT(int) ap_rwrite(const void *buf, int nbyte, request_rec *r);
   API_EXPORT_NONSTD(int) ap_rvputs(request_rec *r,...);
   API_EXPORT(int) ap_vrprintf(request_rec *r, const char *fmt, va_list vlist);
  -API_EXPORT_NONSTD(int) ap_rprintf(request_rec *r, const char *fmt,...)
  +API_EXPORT(int) ap_rprintf(request_rec *r, const char *fmt,...)
   				__attribute__((format(printf,2,3)));
   API_EXPORT(int) ap_rflush(request_rec *r);
   
  
  
  

Mime
View raw message