Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/server.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-26 20:23:03 -0400
committerDan McGee <dan@archlinux.org>2007-04-27 20:40:29 -0400
commit69bc2e62fe2b94bb1189959e4ed396ffbf5088e1 (patch)
tree2a7b3720c44a2bb25b96e2a9192e18f0131896ee /lib/libalpm/server.c
parent3cf8a333d04cd8b55edfe63bd8f4dd322a88a4d0 (diff)
Remove FREESERVER macro and correctly type _alpm_server_free
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/server.c')
-rw-r--r--lib/libalpm/server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c
index b9182a02..1b629a81 100644
--- a/lib/libalpm/server.c
+++ b/lib/libalpm/server.c
@@ -76,10 +76,8 @@ pmserver_t *_alpm_server_new(const char *url)
return server;
}
-void _alpm_server_free(void *data)
+void _alpm_server_free(pmserver_t *server)
{
- pmserver_t *server = data;
-
ALPM_LOG_FUNC;
if(server == NULL) {