From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: getenv prototype Date: Thu, 14 Aug 2003 06:24:06 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87ekzp487t.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1060720558 11986 80.91.224.253 (12 Aug 2003 20:35:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2003 20:35:58 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Aug 12 22:35:55 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mfs3-0001na-00 for ; Tue, 12 Aug 2003 22:35:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19mfkD-0007st-Ek for guile-devel@m.gmane.org; Tue, 12 Aug 2003 16:27:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19mfhr-00048r-41 for guile-devel@gnu.org; Tue, 12 Aug 2003 16:25:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19mfgz-0001dy-0y for guile-devel@gnu.org; Tue, 12 Aug 2003 16:25:00 -0400 Original-Received: from [61.8.0.36] (helo=snoopy.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.20) id 19mfgq-00014S-QY for guile-devel@gnu.org; Tue, 12 Aug 2003 16:24:21 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h7CKOH0J020770 for ; Wed, 13 Aug 2003 06:24:18 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h7CKOHkv008456 for ; Wed, 13 Aug 2003 06:24:17 +1000 (EST) Original-Received: from localhost (ppp123.dyn228.pacific.net.au [203.143.228.123]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h7CKOGos016191 for ; Wed, 13 Aug 2003 06:24:17 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19n2AC-0000X6-00; Thu, 14 Aug 2003 06:24:08 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2687 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2687 --=-=-= FYI, just on the general rule that it's better to use headers than private declarations, * simpos.c (getenv): Use for prototype. --=-=-= Content-Disposition: attachment; filename=simpos.c.getenv.diff --- simpos.c.~1.49.~ 2003-04-07 08:05:27.000000000 +1000 +++ simpos.c 2003-08-12 19:59:03.000000000 +1000 @@ -22,6 +22,7 @@ #endif #include +#include /* for getenv */ #include "libguile/_scm.h" @@ -74,7 +75,6 @@ #undef FUNC_NAME #endif /* HAVE_SYSTEM */ -extern char *getenv(); SCM_DEFINE (scm_getenv, "getenv", 1, 0, 0, (SCM nam), "Looks up the string @var{name} in the current environment. The return\n" --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel --=-=-=--