diff options
author | joerg <joerg@pkgsrc.org> | 2012-07-09 19:09:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-07-09 19:09:09 +0000 |
commit | e4326970344cfcc66fcfbb062b8e04f5e6d1543c (patch) | |
tree | 58eb53d3438637ef4ed4c2058447903f6c834877 /devel | |
parent | d14c959826e4f2af81672456a257a0736fde69f7 (diff) | |
download | pkgsrc-e4326970344cfcc66fcfbb062b8e04f5e6d1543c.tar.gz |
Fix inline usage.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libmaa/distinfo | 5 | ||||
-rw-r--r-- | devel/libmaa/patches/patch-debug.c | 15 | ||||
-rw-r--r-- | devel/libmaa/patches/patch-flags.c | 15 | ||||
-rw-r--r-- | devel/libmaa/patches/patch-maa.h | 24 |
4 files changed, 55 insertions, 4 deletions
diff --git a/devel/libmaa/distinfo b/devel/libmaa/distinfo index 4ff1bf68843..c4cb68a857b 100644 --- a/devel/libmaa/distinfo +++ b/devel/libmaa/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2012/07/05 18:47:37 joerg Exp $ +$NetBSD: distinfo,v 1.6 2012/07/09 19:09:09 joerg Exp $ SHA1 (libmaa-1.3.1.tar.gz) = b14ae76ea2c39b42e1b269e1ea5b156d9c3cdc9b RMD160 (libmaa-1.3.1.tar.gz) = 49230793034a2ec5b0b4756d8e7eb2fdd94c3c15 @@ -6,3 +6,6 @@ Size (libmaa-1.3.1.tar.gz) = 287084 bytes SHA1 (patch-debug.c) = e42d7702dab5463882e24b049d4f98a9e009429c SHA1 (patch-flags.c) = 04b054ed652f16d31cf60ada860f56a4984b9e34 SHA1 (patch-maa.h) = b49a58a9b394db4065202294ec2c17f734a19588 +SHA1 (patch-debug.c) = e42d7702dab5463882e24b049d4f98a9e009429c +SHA1 (patch-flags.c) = 04b054ed652f16d31cf60ada860f56a4984b9e34 +SHA1 (patch-maa.h) = b49a58a9b394db4065202294ec2c17f734a19588 diff --git a/devel/libmaa/patches/patch-debug.c b/devel/libmaa/patches/patch-debug.c index 0344d725748..33ef090c93e 100644 --- a/devel/libmaa/patches/patch-debug.c +++ b/devel/libmaa/patches/patch-debug.c @@ -1,4 +1,17 @@ -$NetBSD: patch-debug.c,v 1.1 2012/07/05 18:47:37 joerg Exp $ +$NetBSD: patch-debug.c,v 1.2 2012/07/09 19:09:09 joerg Exp $ + +--- debug.c.orig 2012-07-05 12:00:08.000000000 +0000 ++++ debug.c +@@ -173,7 +173,7 @@ void dbg_unset_flag( dbg_Type flag ) + /* \doc This inlined function tests the |flag|, returning non-zero if the + |flag| is set, and zero otherwise. */ + +-__inline__ int dbg_test( dbg_Type flag ) ++int dbg_test( dbg_Type flag ) + { + return TEST( flag, setFlags ); + } +$NetBSD: patch-debug.c,v 1.2 2012/07/09 19:09:09 joerg Exp $ --- debug.c.orig 2012-07-05 12:00:08.000000000 +0000 +++ debug.c diff --git a/devel/libmaa/patches/patch-flags.c b/devel/libmaa/patches/patch-flags.c index a0154ec3720..ee0113b632a 100644 --- a/devel/libmaa/patches/patch-flags.c +++ b/devel/libmaa/patches/patch-flags.c @@ -1,4 +1,17 @@ -$NetBSD: patch-flags.c,v 1.1 2012/07/05 18:47:38 joerg Exp $ +$NetBSD: patch-flags.c,v 1.2 2012/07/09 19:09:09 joerg Exp $ + +--- flags.c.orig 2012-07-05 12:01:24.000000000 +0000 ++++ flags.c +@@ -142,7 +142,7 @@ void flg_set( const char *name ) + /* \doc This inlined function tests the |flag|, returning non-zero if the + |flag| is set, and zero otherwise. */ + +-__inline__ int flg_test( flg_Type flag ) ++int flg_test( flg_Type flag ) + { + return TEST( flag, setFlags ); + } +$NetBSD: patch-flags.c,v 1.2 2012/07/09 19:09:09 joerg Exp $ --- flags.c.orig 2012-07-05 12:01:24.000000000 +0000 +++ flags.c diff --git a/devel/libmaa/patches/patch-maa.h b/devel/libmaa/patches/patch-maa.h index 50bdb8c608e..1865fdc259b 100644 --- a/devel/libmaa/patches/patch-maa.h +++ b/devel/libmaa/patches/patch-maa.h @@ -1,4 +1,26 @@ -$NetBSD: patch-maa.h,v 1.1 2012/07/05 18:47:38 joerg Exp $ +$NetBSD: patch-maa.h,v 1.2 2012/07/09 19:09:09 joerg Exp $ + +--- maa.h.orig 2012-07-05 12:00:48.000000000 +0000 ++++ maa.h +@@ -438,7 +438,7 @@ extern void dbg_destroy( void + extern void dbg_set( const char *name ); + extern void dbg_set_flag( dbg_Type flag ); + extern void dbg_unset_flag( dbg_Type flag ); +-extern __inline__ int dbg_test( dbg_Type flag ); ++extern int dbg_test( dbg_Type flag ); + extern void dbg_list( FILE *stream ); + + #define PRINTF(flag,arg) if (dbg_test(flag)) { log_info arg; } +@@ -450,7 +450,7 @@ typedef unsigned long int flg_Type; + extern void flg_register( flg_Type flag, const char *name ); + extern void flg_destroy( void ); + extern void flg_set( const char *name ); +-extern __inline__ int flg_test( flg_Type flag ); ++extern int flg_test( flg_Type flag ); + extern void flg_list( FILE *stream ); + extern const char *flg_name( flg_Type flag ); + +$NetBSD: patch-maa.h,v 1.2 2012/07/09 19:09:09 joerg Exp $ --- maa.h.orig 2012-07-05 12:00:48.000000000 +0000 +++ maa.h |