summaryrefslogtreecommitdiff
path: root/libguile/array-map.h
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-02-13 14:47:33 +0100
committerLudovic Courtès <ludo@gnu.org>2011-02-13 14:47:33 +0100
commit10b9343f04ce8ed245b8d4316805909d2821d5b1 (patch)
tree60723384aae1ada99836653f74af2b813c5c3a4d /libguile/array-map.h
parentb339459e9443a319ce4289c2936783ca3abb7ef1 (diff)
downloadguile-10b9343f04ce8ed245b8d4316805909d2821d5b1.tar.gz
Change `scm_ramapc' prototype to avoid empty declarators (bug #23681).
* libguile/array-map.h (scm_ramapc): Change `cproc' to `void *' instead of using empty declarators. * libguile/array-map.c (scm_ramapc): Adjust accordingly.
Diffstat (limited to 'libguile/array-map.h')
-rw-r--r--libguile/array-map.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libguile/array-map.h b/libguile/array-map.h
index 471861bee..43d2a9281 100644
--- a/libguile/array-map.h
+++ b/libguile/array-map.h
@@ -3,7 +3,8 @@
#ifndef SCM_ARRAY_MAP_H
#define SCM_ARRAY_MAP_H
-/* Copyright (C) 1995,1996,1997,2000, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2006, 2008, 2009, 2010,
+ * 2011 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -28,7 +29,7 @@
SCM_API int scm_ra_matchp (SCM ra0, SCM ras);
-SCM_API int scm_ramapc (int (*cproc) (), SCM data, SCM ra0, SCM lra,
+SCM_API int scm_ramapc (void *cproc, SCM data, SCM ra0, SCM lra,
const char *what);
SCM_API int scm_array_fill_int (SCM ra, SCM fill, SCM ignore);
SCM_API SCM scm_array_fill_x (SCM ra, SCM fill);