Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/include/rump rumpdefs.h, rumperr.h and rumperrno2ho...



details:   https://anonhg.NetBSD.org/src/rev/6698902af160
branches:  trunk
changeset: 992248:6698902af160
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Aug 21 08:22:33 2018 +0000

description:
rumpdefs.h, rumperr.h and rumperrno2host.h are generated from makerumpdefs.sh.
Don't edit those files directly. Use __inline instead of inline in the
script file. OK'd by christos.

diffstat:

 sys/rump/include/rump/makerumpdefs.sh |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 7b790efe7653 -r 6698902af160 sys/rump/include/rump/makerumpdefs.sh
--- a/sys/rump/include/rump/makerumpdefs.sh     Tue Aug 21 07:56:53 2018 +0000
+++ b/sys/rump/include/rump/makerumpdefs.sh     Tue Aug 21 08:22:33 2018 +0000
@@ -8,7 +8,7 @@
 rm -f rumpdefs.h
 exec 3>&1 > rumpdefs.h
 
-printf '/*     $NetBSD: makerumpdefs.sh,v 1.29 2016/02/02 01:15:24 pooka Exp $ */\n\n'
+printf '/*     $NetBSD: makerumpdefs.sh,v 1.30 2018/08/21 08:22:33 msaitoh Exp $       */\n\n'
 printf '/*\n *\tAUTOMATICALLY GENERATED.  DO NOT EDIT.\n */\n\n'
 printf '#ifndef _RUMP_RUMPDEFS_H_\n'
 printf '#define _RUMP_RUMPDEFS_H_\n\n'
@@ -135,12 +135,12 @@
 echo Generating rumperr.h
 rm -f rumperr.h
 exec > rumperr.h
-printf '/*     $NetBSD: makerumpdefs.sh,v 1.29 2016/02/02 01:15:24 pooka Exp $ */\n\n'
+printf '/*     $NetBSD: makerumpdefs.sh,v 1.30 2018/08/21 08:22:33 msaitoh Exp $       */\n\n'
 printf '/*\n *\tAUTOMATICALLY GENERATED.  DO NOT EDIT.\n */\n'
 
 fromvers ../../../sys/errno.h
 
-printf "\nstatic inline const char *\nrump_strerror(int error)\n{\n\n"
+printf "\nstatic __inline const char *\nrump_strerror(int error)\n{\n\n"
 printf "\tswitch (error) {\n\tcase 0:\n"
 printf "\t\t return \"No error: zero, zip, zilch, none!\";\n"
 awk '/^#define[        ]*E.*[0-9]/{
@@ -176,13 +176,13 @@
 echo Generating rumperrno2host.h 1>&3
 rm -f rumperrno2host.h
 exec > rumperrno2host.h
-printf '/*     $NetBSD: makerumpdefs.sh,v 1.29 2016/02/02 01:15:24 pooka Exp $ */\n\n'
+printf '/*     $NetBSD: makerumpdefs.sh,v 1.30 2018/08/21 08:22:33 msaitoh Exp $       */\n\n'
 printf '/*\n *\tAUTOMATICALLY GENERATED.  DO NOT EDIT.\n */\n'
 
 fromvers ../../../sys/errno.h
 
 printf "\n#ifndef ERANGE\n#error include ISO C style errno.h first\n#endif\n"
-printf "\nstatic inline int \nrump_errno2host(int rumperrno)\n{\n\n"
+printf "\nstatic __inline int \nrump_errno2host(int rumperrno)\n{\n\n"
 printf "\tswitch (rumperrno) {\n\tcase 0:\n"
 printf "\t\t return 0;\n"
 awk '/^#define[        ]*E.*[0-9]/{



Home | Main Index | Thread Index | Old Index