* defs.h [SH]: Make getrval2 prototype visible to do_pipe and fix the following compiler warning: .../net.c: In function ‘do_pipe’: .../net.c:1632: warning: implicit declaration of function ‘getrval2’ .../net.c:1632: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘int’
Signed-off-by: Carmelo Amoroso <[email protected]> --- defs.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/defs.h b/defs.h index 7a7a071..fc334c9 100644 --- a/defs.h +++ b/defs.h @@ -598,7 +598,8 @@ extern void tv_div(struct timeval *, struct timeval *, int); #ifdef SUNOS4 extern int fixvfork(struct tcb *); #endif -#if !(defined(LINUX) && !defined(SPARC) && !defined(SPARC64) && !defined(IA64)) +#if !(defined(LINUX) && !defined(SPARC) && !defined(SPARC64) && !defined(IA64) \ + && !defined(SH)) extern long getrval2(struct tcb *); #endif #ifdef USE_PROCFS -- 1.5.5.6 ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
