9bc784e32b
- Fixes: rhbz#2261538
23 lines
700 B
Diff
23 lines
700 B
Diff
From 789f964fff59c722b0872abcdc56d2b1373a9f3b Mon Sep 17 00:00:00 2001
|
|
From: mattip <matti.picus@gmail.com>
|
|
Date: Tue, 19 Mar 2024 08:36:55 +0200
|
|
Subject: [PATCH] fix 'const' in signature of gdbm_open (issue 4926)
|
|
|
|
---
|
|
lib_pypy/_gdbm_build.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib_pypy/_gdbm_build.py b/lib_pypy/_gdbm_build.py
|
|
index 8578874554f..113f5496dc0 100644
|
|
--- a/lib_pypy/_gdbm_build.py
|
|
+++ b/lib_pypy/_gdbm_build.py
|
|
@@ -11,7 +11,7 @@
|
|
#define GDBM_NOLOCK ...
|
|
#define GDBM_REPLACE ...
|
|
|
|
-void* gdbm_open(char *, int, int, int, void (*)());
|
|
+void* gdbm_open(const char *, int, int, int, void (*)(const char *));
|
|
void gdbm_close(void*);
|
|
|
|
typedef struct {
|