apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@locus.apache.org
Subject cvs commit: apr/dso/os2 dso.c
Date Wed, 22 Nov 2000 11:29:21 GMT
bjh         00/11/22 03:29:20

  Modified:    dso/os2  dso.c
  Log:
  OS/2: fix return type of apr_dso_error() & squash warnings about string
  functions.
  
  Revision  Changes    Path
  1.15      +2 -1      apr/dso/os2/dso.c
  
  Index: dso.c
  ===================================================================
  RCS file: /home/cvs/apr/dso/os2/dso.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- dso.c	2000/11/14 06:40:02	1.14
  +++ dso.c	2000/11/22 11:29:18	1.15
  @@ -53,6 +53,7 @@
    */
   
   #include "dso.h"
  +#include "apr_strings.h"
   #define INCL_DOS
   #include <os2.h>
   #include <stdio.h>
  @@ -127,7 +128,7 @@
   
   
   
  -char *apr_dso_error(apr_dso_handle_t *dso, char *buffer, apr_size_t buflen)
  +const char *apr_dso_error(apr_dso_handle_t *dso, char *buffer, apr_size_t buflen)
   {
       char message[200];
       apr_strerror(dso->load_error, message, sizeof(message));
  
  
  

Mime
View raw message