diff options
author | joerg <joerg@pkgsrc.org> | 2012-12-25 21:14:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-12-25 21:14:45 +0000 |
commit | e38f1abf6e54ef55a1f186dade7620a3df21d003 (patch) | |
tree | fadc62f3bae2ffea2b45cb42af39195bbb382d62 | |
parent | b4253c533ade52431ca33a2890edfa01c09b4a52 (diff) | |
download | pkgsrc-e38f1abf6e54ef55a1f186dade7620a3df21d003.tar.gz |
Fix inline use.
-rw-r--r-- | cad/covered/distinfo | 3 | ||||
-rw-r--r-- | cad/covered/patches/patch-src_lxt2__read.h | 38 |
2 files changed, 40 insertions, 1 deletions
diff --git a/cad/covered/distinfo b/cad/covered/distinfo index 3cc7625755d..4e0be1129c5 100644 --- a/cad/covered/distinfo +++ b/cad/covered/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.11 2011/12/07 15:13:26 joerg Exp $ +$NetBSD: distinfo,v 1.12 2012/12/25 21:14:45 joerg Exp $ SHA1 (covered-0.4.7.tar.gz) = 9dd9da4d739db15e5e2ea36f2767136a825a4728 RMD160 (covered-0.4.7.tar.gz) = 63720610a24e6e71b9622586d561e3eb92a606f5 Size (covered-0.4.7.tar.gz) = 1077912 bytes SHA1 (patch-src_lxt2__read.c) = 0c388647fd7fe2027b59cdd35761c91bbe490e64 +SHA1 (patch-src_lxt2__read.h) = 18be70aa6e0dfef5dcf72809e62260642ada7898 diff --git a/cad/covered/patches/patch-src_lxt2__read.h b/cad/covered/patches/patch-src_lxt2__read.h new file mode 100644 index 00000000000..738b9219d94 --- /dev/null +++ b/cad/covered/patches/patch-src_lxt2__read.h @@ -0,0 +1,38 @@ +$NetBSD: patch-src_lxt2__read.h,v 1.1 2012/12/25 21:14:45 joerg Exp $ + +--- src/lxt2_read.h.orig 2012-12-25 15:00:05.000000000 +0000 ++++ src/lxt2_read.h +@@ -247,12 +247,12 @@ unsigned process_mask_dirty : 1; /* only + struct lxt2_rd_trace * lxt2_rd_init(const char *name); + void lxt2_rd_close(struct lxt2_rd_trace *lt); + +-_LXT2_RD_INLINE lxtint64_t lxt2_rd_set_max_block_mem_usage(struct lxt2_rd_trace *lt, lxtint64_t block_mem_max); +-_LXT2_RD_INLINE lxtint64_t lxt2_rd_get_block_mem_usage(struct lxt2_rd_trace *lt); ++lxtint64_t lxt2_rd_set_max_block_mem_usage(struct lxt2_rd_trace *lt, lxtint64_t block_mem_max); ++lxtint64_t lxt2_rd_get_block_mem_usage(struct lxt2_rd_trace *lt); + _LXT2_RD_INLINE unsigned int lxt2_rd_get_num_blocks(struct lxt2_rd_trace *lt); + unsigned int lxt2_rd_get_num_active_blocks(struct lxt2_rd_trace *lt); + +-_LXT2_RD_INLINE lxtint32_t lxt2_rd_get_num_facs(struct lxt2_rd_trace *lt); ++lxtint32_t lxt2_rd_get_num_facs(struct lxt2_rd_trace *lt); + char * lxt2_rd_get_facname(struct lxt2_rd_trace *lt, lxtint32_t facidx); + struct lxt2_rd_geometry * lxt2_rd_get_fac_geometry(struct lxt2_rd_trace *lt, lxtint32_t facidx); + _LXT2_RD_INLINE lxtint32_t lxt2_rd_get_fac_rows(struct lxt2_rd_trace *lt, lxtint32_t facidx); +@@ -260,7 +260,7 @@ _LXT2_RD_INLINE lxtint32_t lxt2_rd_get_f + _LXT2_RD_INLINE lxtint32_t lxt2_rd_get_fac_lsb(struct lxt2_rd_trace *lt, lxtint32_t facidx); + _LXT2_RD_INLINE lxtint32_t lxt2_rd_get_fac_flags(struct lxt2_rd_trace *lt, lxtint32_t facidx); + _LXT2_RD_INLINE lxtint32_t lxt2_rd_get_fac_len(struct lxt2_rd_trace *lt, lxtint32_t facidx); +-_LXT2_RD_INLINE lxtint32_t lxt2_rd_get_alias_root(struct lxt2_rd_trace *lt, lxtint32_t facidx); ++lxtint32_t lxt2_rd_get_alias_root(struct lxt2_rd_trace *lt, lxtint32_t facidx); + + _LXT2_RD_INLINE char lxt2_rd_get_timescale(struct lxt2_rd_trace *lt); + _LXT2_RD_INLINE lxtint64_t lxt2_rd_get_start_time(struct lxt2_rd_trace *lt); +@@ -269,7 +269,7 @@ _LXT2_RD_INLINE lxtint64_t lxt2_rd_get_e + _LXT2_RD_INLINE int lxt2_rd_get_fac_process_mask(struct lxt2_rd_trace *lt, lxtint32_t facidx); + _LXT2_RD_INLINE int lxt2_rd_set_fac_process_mask(struct lxt2_rd_trace *lt, lxtint32_t facidx); + _LXT2_RD_INLINE int lxt2_rd_clr_fac_process_mask(struct lxt2_rd_trace *lt, lxtint32_t facidx); +-_LXT2_RD_INLINE int lxt2_rd_set_fac_process_mask_all(struct lxt2_rd_trace *lt); ++int lxt2_rd_set_fac_process_mask_all(struct lxt2_rd_trace *lt); + _LXT2_RD_INLINE int lxt2_rd_clr_fac_process_mask_all(struct lxt2_rd_trace *lt); + + /* null value_change_callback calls an empty dummy function */ |