From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17586 invoked from network); 6 May 2001 17:46:04 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 May 2001 17:46:04 -0000 Received: (qmail 13193 invoked by alias); 6 May 2001 17:45:50 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3853 Received: (qmail 13177 invoked from network); 6 May 2001 17:45:50 -0000 Date: Sun, 06 May 2001 10:45:46 -0700 From: Paul Ackersviller Subject: inet_{a,p}ton prototypes in Src/Modules/zftp.pro To: zsh-users@sunsite.dk Message-id: <20010506104546.A13094@flora01.SLAC.Stanford.EDU> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline Content-transfer-encoding: 7BIT User-Agent: Mutt/1.2.5i I just tried building zsh on Solaris 7 from the latest source off of CVS. Sun's compiler doesn't like inet_aton and inet_pton being declared as static. Here are the errors: "./zftp.pro", line 4: identifier redeclared: inet_aton current : static function(pointer to const char, pointer to struct in_addr {union {..} S_un}) returning int previous: function(pointer to const char, pointer to struct in_addr {union {..} S_un}) returning int : "/usr/include/arpa/inet.h", line 52 "./zftp.pro", line 6: identifier redeclared: inet_pton current : static function(int, pointer to const char, pointer to void) returning int previous: function(int, pointer to const char, pointer to void) returning int : "/usr/include/arpa/inet.h", line 54 -- Paul Ackersviller