From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22976 invoked by alias); 19 Jan 2005 16:01:17 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 22953 invoked from network); 19 Jan 2005 16:01:16 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 19 Jan 2005 16:01:16 -0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id j0JG18GI022751; Wed, 19 Jan 2005 17:01:08 +0100 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id j0JG14kK022745; Wed, 19 Jan 2005 17:01:04 +0100 Date: Wed, 19 Jan 2005 16:01:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Tiny warning fix Message-ID: <20050119160104.GE4777@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2005-01/txt/msg00047.txt.bz2 Hi! iofopncook.c:100: warning: function declaration isn't a prototype Fixed thusly: 2005-01-19 Jakub Jelinek * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype. --- libc/libio/iofopncook.c.jj 2005-01-08 16:50:21.000000000 +0100 +++ libc/libio/iofopncook.c 2005-01-19 16:53:47.028493214 +0100 @@ -37,6 +37,8 @@ static _IO_ssize_t _IO_cookie_read (regi static _IO_ssize_t _IO_cookie_write (register _IO_FILE* fp, const void* buf, _IO_ssize_t size); static _IO_off64_t _IO_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir); +static _IO_off64_t _IO_cookie_seekoff (_IO_FILE *fp, _IO_off64_t offset, + int dir, int mode); static int _IO_cookie_close (_IO_FILE* fp); static _IO_ssize_t Jakub