r7139: trying to reduce the number of diffs between trunk and 3.0; changing version...
[jerry/samba.git] / source / modules / weird.c
index 444853f3831c25c7264a5847fd21a9920d2bf512..3c59fd9d61f18b35115df84d0cb64b468524fd05 100644 (file)
@@ -31,7 +31,7 @@ static struct {
        {0, NULL}
 };
 
-static size_t weird_pull(void *cd, char **inbuf, size_t *inbytesleft,
+static size_t weird_pull(void *cd, const char **inbuf, size_t *inbytesleft,
                         char **outbuf, size_t *outbytesleft)
 {
        while (*inbytesleft >= 1 && *outbytesleft >= 2) {
@@ -74,7 +74,7 @@ static size_t weird_pull(void *cd, char **inbuf, size_t *inbytesleft,
        return 0;
 }
 
-static size_t weird_push(void *cd, char **inbuf, size_t *inbytesleft,
+static size_t weird_push(void *cd, const char **inbuf, size_t *inbytesleft,
                         char **outbuf, size_t *outbytesleft)
 {
        int ir_count=0;