aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libdtrace/libproc_compat.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-08-22 20:04:51 +0000
committerXin LI <delphij@FreeBSD.org>2014-08-22 20:04:51 +0000
commit4ddb46f694a0db537f093297b7d00b46181aa00e (patch)
tree8a5d6970efa63e0664d1bca3c052d034cea31c9e /cddl/lib/libdtrace/libproc_compat.h
parentd77e67e495266d993f07d5b20822faf127bd1948 (diff)
downloadsrc-4ddb46f694a0db537f093297b7d00b46181aa00e.tar.gz
src-4ddb46f694a0db537f093297b7d00b46181aa00e.zip
Make DTrace stuff compile with C99 standard.
Notes
Notes: svn path=/head/; revision=270358
Diffstat (limited to 'cddl/lib/libdtrace/libproc_compat.h')
-rw-r--r--cddl/lib/libdtrace/libproc_compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/lib/libdtrace/libproc_compat.h b/cddl/lib/libdtrace/libproc_compat.h
index 7e54ada6bf94..84433362d0c5 100644
--- a/cddl/lib/libdtrace/libproc_compat.h
+++ b/cddl/lib/libdtrace/libproc_compat.h
@@ -43,6 +43,7 @@
#define Pcreate_error strerror
#define Pdelbkpt proc_bkptdel
#define Pgrab_error strerror
+#define Plmid(p, a, l) (-1)
#define Plmid_to_map(p, l, o) proc_obj2map((p), (o))
#define Plookup_by_addr proc_addr2sym
#define Pname_to_ctf(p, obj) NULL