Return-Path: owner-postman 
Delivery-Date: Fri, 13 May 94 23:05:49 -0700
Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id VAA26798 for postgres-redist; Fri, 13 May 1994 21:14:59 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199405140414.VAA26798@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from pollux.cs.uga.edu (pollux.cs.uga.edu [128.192.4.5]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id VAA26788 for <postgres@postgres.berkeley.edu>; Fri, 13 May 1994 21:14:57 -0700
Received: by pollux.cs.uga.edu (4.1/25-eef)
	id AA10136; Sat, 14 May 94 00:13:35 EDT
Date: Sat, 14 May 94 00:13:35 EDT
From: "NP (in)complete problem." <perera@pollux.cs.uga.edu>
Message-Id: <9405140413.AA10136@pollux.cs.uga.edu>
To: postgres@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Fri, 13 May 94 21:14:59 -0700
Resent-XMts: smtp

Hi:

Everytime I compile some code with "libpq.h" I get the following
warning mesg. What needs to be done to the header file to get rid of this ?

( gcc version 2.5.8, postgres 4.1, lex 2.4.6, and bison 1.22 )

gcc -g -DYYDEBUG=1 -I/usr/postgres/include  -target sun4 -c  addattr.c
In file included from addattr.c:2:
/usr/postgres/include/libpq.h:215: warning: `struct sockaddr_in' declared inside parameter list
/usr/postgres/include/libpq.h:215: warning: its scope is only this definition or declaration,
/usr/postgres/include/libpq.h:215: warning: which is probably not what you want.
/usr/postgres/include/libpq.h:216: warning: `struct sockaddr_in' declared inside parameter list

Thanks,

-- Niranjan

===============================================================================
    To add/remove yourself from the POSTGRES mailing list: send mail with 
    the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

    If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
    a human will deal with it.  DO NOT post to the "postgres" mailing list.
===============================================================================

