avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] [RFC][PATCH] Deprecate inb / outb.


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [RFC][PATCH] Deprecate inb / outb.
Date: Tue, 10 Jun 2003 14:43:49 +0200
User-agent: Mutt/1.2.5i

As address@hidden wrote:

> > As address@hidden wrote:
> > IMHO, all this would be a nice reason to finally start 
> <compat/io.h>.

> Remind me, what was supposed to go in that?

All the deprecated interfaces.  inb()/outb()/inp()/outp(), ...

That way, someone who wants to use their old code with minimal changes
could just write

#include <compat/io.h>
#include <compat/this.h>
#include <compat/that.h>

on top (or into their central #include "myapp.h"), and get away with
it.  People writing new code will however not see the deprecated
interfaces in their regular header files anymore.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]