apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/threadproc/win32 signals.c
Date Sat, 08 Jun 2002 18:47:56 GMT
wrowe       2002/06/08 11:47:56

  Modified:    include  apr_signal.h
               threadproc/netware signals.c
               threadproc/unix signals.c
               threadproc/win32 signals.c
  Log:
    Some simple fn renames ... by the book [deprecated entry points retained]
  
  Revision  Changes    Path
  1.13      +5 -0      apr/include/apr_signal.h
  
  Index: apr_signal.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_signal.h,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- apr_signal.h	30 Apr 2002 01:25:38 -0000	1.12
  +++ apr_signal.h	8 Jun 2002 18:47:56 -0000	1.13
  @@ -114,6 +114,11 @@
    * @param signum The signal number
    * @return The description of the signal
    */
  +APR_DECLARE(const char *) apr_signal_description_get(int signum);
  +
  +/**
  + * Deprecated: use apr_signal_description_get
  + */
   APR_DECLARE(const char *) apr_signal_get_description(int signum);
   
   /**
  
  
  
  1.6       +6 -1      apr/threadproc/netware/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/netware/signals.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- signals.c	30 Apr 2002 01:25:38 -0000	1.5
  +++ signals.c	8 Jun 2002 18:47:56 -0000	1.6
  @@ -74,7 +74,7 @@
   {
   }
   
  -const char *apr_signal_get_description(int signum)
  +const char *apr_signal_description_get(int signum)
   {
       switch (signum)
       {
  @@ -109,3 +109,8 @@
       return rv;
   }
   
  +/* Deprecated */
  +const char *apr_signal_get_description(int signum)
  +{
  +    return apr_signal_description_get(signum);
  +}
  
  
  
  1.48      +8 -2      apr/threadproc/unix/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/unix/signals.c,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- signals.c	22 May 2002 11:15:29 -0000	1.47
  +++ signals.c	8 Jun 2002 18:47:56 -0000	1.48
  @@ -145,7 +145,7 @@
   void apr_signal_init(apr_pool_t *pglobal)
   {
   }
  -const char *apr_signal_get_description(int signum)
  +const char *apr_signal_description_get(int signum)
   {
       return sys_siglist[signum];
   }
  @@ -284,7 +284,7 @@
               signal_description[sig] = apr_psprintf(pglobal, "signal #%d", sig);
   }
   
  -const char *apr_signal_get_description(int signum)
  +const char *apr_signal_description_get(int signum)
   {
       return
           signum < APR_NUMSIG
  @@ -453,3 +453,9 @@
   }
   
   #endif
  +
  +/* Deprecated */
  +const char *apr_signal_get_description(int signum)
  +{
  +    return apr_signal_description_get(signum);
  +}
  
  
  
  1.20      +7 -1      apr/threadproc/win32/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/win32/signals.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- signals.c	13 Mar 2002 20:39:30 -0000	1.19
  +++ signals.c	8 Jun 2002 18:47:56 -0000	1.20
  @@ -81,7 +81,13 @@
   void apr_signal_init(apr_pool_t *pglobal)
   {
   }
  -const char *apr_signal_get_description(int signum)
  +const char *apr_signal_description_get(int signum)
   {
       return "unknown signal (not supported)";
  +}
  +
  +/* Deprecated */
  +const char *apr_signal_get_description(int signum)
  +{
  +    return apr_signal_description_get(signum);
   }
  
  
  

Mime
View raw message