1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/www/apache13-modssl/files/mod_accel-ap_ext_accel.patch
Dirk Meyer 1d50e56931 - add mod_accel patch for amd64
Submitted by:	Sergey Smitienko
2009-10-11 18:34:45 +00:00

37 lines
1.5 KiB
Diff

--- src/modules/accel/ap_ext_accel.h~ 2009-10-05 22:57:34.000000000 +0400
+++ src/modules/accel/ap_ext_accel.h 2009-10-05 22:58:10.000000000 +0400
@@ -8,10 +8,10 @@
API_EXPORT_NONSTD(const char *) ap_set_integer_slot(cmd_parms *cmd,
- char *struct_ptr, int arg);
+ char *struct_ptr, const char * arg);
API_EXPORT_NONSTD(const char *) ap_set_kilobytes_slot(cmd_parms *cmd,
- char *struct_ptr, int arg);
+ char *struct_ptr, const char * arg);
#ifdef NO_SETPROCTITLE
#define ap_setproctitle(title)
--- src/modules/accel/ap_ext_accel.c~ 2009-10-05 22:57:33.000000000 +0400
+++ src/modules/accel/ap_ext_accel.c 2009-10-05 22:58:32.000000000 +0400
@@ -5,7 +5,7 @@
#include "ap_ext_accel.h"
API_EXPORT_NONSTD(const char *) ap_set_integer_slot(cmd_parms *cmd,
- char *struct_ptr, int arg)
+ char *struct_ptr, const char* arg)
{
int offset = (int) (long) cmd->info;
int size = atoi((char *)arg);
@@ -19,7 +19,7 @@
}
API_EXPORT_NONSTD(const char *) ap_set_kilobytes_slot(cmd_parms *cmd,
- char *struct_ptr, int arg)
+ char *struct_ptr, const char* arg)
{
int offset = (int) (long) cmd->info;
int size = atoi(arg);