comparison src/number-gmp.c @ 2286:04bc9d2f42c7

[xemacs-hg @ 2004-09-20 19:18:55 by james] Mark all unused parameters as unused. Also eliminate some unneeded local variables.
author james
date Mon, 20 Sep 2004 19:20:08 +0000
parents 4e6a63799f08
children ecf1ebac70d8
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
76 return str; 76 return str;
77 } 77 }
78 78
79 /* We need the next two functions since GNU MP insists on giving us an extra 79 /* We need the next two functions since GNU MP insists on giving us an extra
80 parameter. */ 80 parameter. */
81 static void *gmp_realloc (void *ptr, size_t old_size /* unused */, 81 static void *gmp_realloc (void *ptr, size_t UNUSED (old_size), size_t new_size)
82 size_t new_size)
83 { 82 {
84 return xrealloc (ptr, new_size); 83 return xrealloc (ptr, new_size);
85 } 84 }
86 85
87 static void gmp_free (void *ptr, size_t size /* unused */) 86 static void gmp_free (void *ptr, size_t UNUSED (size))
88 { 87 {
89 xfree (ptr, void *); 88 xfree (ptr, void *);
90 } 89 }
91 90
92 void 91 void