Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumphijack fix signature. from pgoyette



details:   https://anonhg.NetBSD.org/src/rev/11659d8a8f3c
branches:  trunk
changeset: 762197:11659d8a8f3c
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Feb 17 12:52:33 2011 +0000

description:
fix signature.  from pgoyette

diffstat:

 lib/librumphijack/hijack.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 835c5bcbf2a3 -r 11659d8a8f3c lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Thu Feb 17 12:23:58 2011 +0000
+++ b/lib/librumphijack/hijack.c        Thu Feb 17 12:52:33 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.45 2011/02/17 12:23:58 pooka Exp $       */
+/*      $NetBSD: hijack.c,v 1.46 2011/02/17 12:52:33 pooka Exp $       */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.45 2011/02/17 12:23:58 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.46 2011/02/17 12:52:33 pooka Exp $");
 
 #define __ssp_weak_name(fun) _hijack_ ## fun
 
@@ -1455,7 +1455,7 @@
        (const char *, const char *),                                   \
        (path, target))
 
-PATHCALL(int, readlink, DUALCALL_READLINK,                             \
+PATHCALL(ssize_t, readlink, DUALCALL_READLINK,                         \
        (const char *path, char *buf, size_t bufsiz),                   \
        (const char *, char *, size_t),                                 \
        (path, buf, bufsiz))



Home | Main Index | Thread Index | Old Index