In EPICS 7, a macro IOCFUNCDEF_HAS_USAGE is defined in ioch.h.
Taking that into account, my code looks like this (it's not "pretty") :
----
static const iocshFuncDef rtshellFuncDef = { “rt”,2, rtshellArgs
#ifdef IOCFUNCDEF_HAS_USAGE
, “run rtems shell command”
#endif
};
----
How do you get it to look nice?
Danke,
Heinz
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- Replies:
- Re: Coding style question IOCFUNCDEF_HAS_USAGE Johnson, Andrew N. via Core-talk
- Navigate by Date:
- Prev:
Build failed: EPICS Base 7 base-7.0-122 AppVeyor via Core-talk
- Next:
Re: [Merge] ~bfrk/epics-base:remove-dbfl_type_rec into epics-base:7.0 mdavidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
Build failed: EPICS Base 7 base-7.0-122 AppVeyor via Core-talk
- Next:
Re: Coding style question IOCFUNCDEF_HAS_USAGE Johnson, Andrew N. via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|