jehanne/sys/src/lib/draw
Giacomo Tesio e70feee4a3 libc: introduce "jehanne_" namespace
With this commit all functions declared in libc.h have been renamed
with the "jehanne_" prefix. This is done for several reason:

- it removes conflicts during symbol resolution when linking
  standard C libraries like newlib or musl
- it allows programs depending on a standard C library to directly
  link to a library depending on our non standard libc (eg libsec).

To ease transiction two files are provided:

- sys/include/lib9.h that can be included instead of <libc.h> to use
  the old names (via a simple set of macros)
- sys/src/lib/c/lib9.c that can be compiled with a program where the
  macro provided by lib9.h are too dumb (see for example rc or grep).

In the kernel port/lib.h has been modified accordingly and some of
the functions it directly provides has been renamed too (eg malloc
in qmalloc.c and print in devcons.c).
2017-04-19 23:48:21 +02:00
..
alloc.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
allocimagemix.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
arith.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
bezier.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
border.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
build.json qa: build everything with -Werror 2017-01-12 00:38:56 +01:00
buildfont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
bytesperline.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
chan.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
cloadimage.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
computil.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
creadimage.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
debug.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
defont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
draw.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
drawrepl.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
egetrect.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
ellipse.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
emenuhit.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
event.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
fmt.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
font.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
freesubfont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
getdefont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
getrect.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
getsubfont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
icossin.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
icossin2.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
init.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
keyboard.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
klibdraw.json qa: build everything with -Werror 2017-01-12 00:38:56 +01:00
line.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
loadimage.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
makefile first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
menuhit.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
mkfont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
mouse.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
namedimage.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
newwindow.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
openfont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
poly.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
readcolmap.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
readimage.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
readsubfont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
rectclip.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
replclipr.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
rgb.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
scroll.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
string.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
stringbg.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
stringsubfont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
stringwidth.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
subfont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
subfontcache.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
subfontname.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
test.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
unloadimage.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
window.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
writecolmap.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
writeimage.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
writesubfont.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00