You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@locus.apache.org on 2000/11/22 12:29:21 UTC

cvs commit: apr/dso/os2 dso.c

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));