From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Fri, 21 Nov 2008 12:21:22 +0200 From: lucio@proxima.alt.za In-Reply-To: <4b41d6d160b1e8f95e193e2e15a713bf@proxima.alt.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] /sys/src/libdraw/arith.c:163 Topicbox-Message-UUID: 4e26244e-ead4-11e9-9d60-3106f5b1d025 > 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