compiler warning fix

Started by Zdenek Kotalaover 18 years ago2 messagespatches
Jump to latest
#1Zdenek Kotala
Zdenek.Kotala@Sun.COM

Sun studio reports following warnings during
src/interfaces/ecpg/ecpglib/prepare.c compilation:

"prepare.c", line 34: warning: storage class after type is obsolescent
"prepare.c", line 35: warning: storage class after type is obsolescent

Attached patch fixes a problem.

Zdenek

Attachments:

warning.patchtext/x-patch; name=warning.patchDownload+4-4
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Zdenek Kotala (#1)
Re: compiler warning fix

Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:

Sun studio reports following warnings during
src/interfaces/ecpg/ecpglib/prepare.c compilation:
"prepare.c", line 34: warning: storage class after type is obsolescent
"prepare.c", line 35: warning: storage class after type is obsolescent

Yeah, it's right: the C spec deprecates that. Patch applied, thanks.

regards, tom lane