summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/opensolaris/tools/ctf/cvt/util.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r277300 (by smh): Mechanically convert cddl sun #ifdef's to illumosmav2016-03-201-1/+1
| | | | | | | | | Since the upstream for cddl code is now illumos not sun, mechanically convert all sun #ifdef's to illumos #ifdef's which have been used in all newer code for some time. Also do a manual pass to correct the use if #ifdef comments as per style(9) as well as few uses of #if defined(__FreeBSD__) vs #ifndef illumos.
* Fix -Wmissing-variable-declarations compiler warnings.ed2013-04-191-2/+2
| | | | | References: https://www.illumos.org/issues/3700
* We need to be consistent with prototype definitions. It isn't OK tojb2008-04-261-8/+55
| | | | | | | use 'const' and just override it whenever we feel like it. If we use it at all, then we need to do it properly. Add a couple of functions that were useful in getting this code ported.
* Vendor import of the full userland contrib part of DTrace support fromjb2008-04-261-55/+8
| | | | | | | | | | | OpenSolaris. This commit resets files to match the versions in the OpenSolaris tree as of 2008/04/10. The changes in this import from the previous import are the ones that will subsequently re-applied to take files off the vendor branch. This is unfortunately necessary because the Solaris developers won't allow FreeBSD support #ifdefs in their source code because that creates 'dead code' (stuff that they never compile).
* Vendor import of the CTF (Compact C Type Format) code used by DTracejb2008-04-251-0/+283
from OpenSolaris.
OpenPOWER on IntegriCloud