From: lucio@proxima.alt.za
To: 9fans@9fans.net
Subject: Re: [9fans] /sys/src/libdraw/arith.c:163
Date: Fri, 21 Nov 2008 12:21:22 +0200 [thread overview]
Message-ID: <dce18e118d161ef486c0aff05c95c5a5@proxima.alt.za> (raw)
In-Reply-To: <4b41d6d160b1e8f95e193e2e15a713bf@proxima.alt.za>
> and GCC (yes, that one!) complains about it:
Here's another:
/sys/src/libdraw/window.c:25
s = malloc(sizeof(Screen));
if(s == 0)
return 0;
SET(id);
^^^^^^^^
for(try=0; try<25; try++){
I can't seem to find a definition for SET() anywhere, although I may
not be looking in the right places. Here is what GCC has to say about
it:
gcc -c -Wall -D_PLAN_9 -D_POSIX_SOURCE -D_PLAN9_SOURCE -I. /sys/src/libdraw/window.c
/sys/src/libdraw/window.c: In function `allocscreen':
/sys/src/libdraw/window.c:25: warning: implicit declaration of function `SET'
++L
next prev parent reply other threads:[~2008-11-21 10:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-21 9:41 lucio
2008-11-21 10:21 ` lucio [this message]
2008-11-21 10:27 ` Richard Miller
2008-11-21 10:49 ` lucio
2008-11-21 10:56 ` Richard Miller
2008-11-21 10:59 ` lucio
2008-11-22 0:54 ` Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dce18e118d161ef486c0aff05c95c5a5@proxima.alt.za \
--to=lucio@proxima.alt.za \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).