Bug#258449: vdr-plugin-bitstreamout_0.61-1(hppa/unstable): FTBFS: including kernel headers

Christoph Martin pkg-vdr-dvb-devel@lists.alioth.debian.org
Thu, 15 Jul 2004 18:55:09 +0200


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig1851C196E5E1CF1F6F3CEB22
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Hallo Thomas,

Thomas Schmidt schrieb:

> Hmm, also brauchen wir noch Macros für test_and_set_bit sowie
> test_and_clear_bit, dummerweise habe ich von Präprozessormacros fast
> keine Ahnung, ich habe ja noch nichtmal wirklich die 3 anderen Macros
> verstanden, die Tobias gepostet hat. :)

als Macro habe ich es nicht hinbekommen. Aber probiers mal hier mit:

int inline test_and_set_bit( int n, void *a )
{
  int *addr = a;
  int result = test_bit(n, addr);
  set_bit(n, addr);
  return result;
}

int inline test_and_clear_bit( int n, void *a )
{
  int *addr = a;
  int result = test_bit(n, addr);
  clear_bit(n, addr);
  return result;
}

Christoph

-- 
============================================================================
Christoph Martin, EDV der Verwaltung, Uni-Mainz, Germany
 Internet-Mail:  Christoph.Martin@Uni-Mainz.DE
  Telefon: +49-6131-3926337
      Fax: +49-6131-3922856

--------------enig1851C196E5E1CF1F6F3CEB22
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA9rbtgeVih7XOVJcRAuv7AJ4rLHcUFhyPvf9/nX0yAidXfww4XgCeKuI5
fGMZHdwKLvrMG9WNBgj+DIw=
=qNKI
-----END PGP SIGNATURE-----

--------------enig1851C196E5E1CF1F6F3CEB22--