diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1997-09-02 12:55:01 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1997-09-02 12:55:01 +0000 |
commit | 1517cea772058b0fcbe778d05b8b99c7e6f3b25f (patch) | |
tree | a2d817fe623f81b7729ed3cd2e128cad91eca02b /otherlibs/unix/errmsg.c | |
parent | d75918f7e459b507ac6b4b95f14df0a1eedd4937 (diff) |
Sources C convertis en ANSI C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix/errmsg.c')
-rw-r--r-- | otherlibs/unix/errmsg.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/otherlibs/unix/errmsg.c b/otherlibs/unix/errmsg.c index b10a080fb..c802bc3f4 100644 --- a/otherlibs/unix/errmsg.c +++ b/otherlibs/unix/errmsg.c @@ -19,10 +19,9 @@ extern int error_table[]; #ifdef HAS_STRERROR -extern char * strerror(); +extern char * strerror(int); -value unix_error_message(err) - value err; +value unix_error_message(value err) { int errnum; errnum = error_table[Int_val(err)]; @@ -34,8 +33,7 @@ value unix_error_message(err) extern int sys_nerr; extern char *sys_errlist[]; -value unix_error_message(err) - value err; +value unix_error_message(value err) { int errnum; errnum = error_table[Int_val(err)]; |