From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] rte_log: remove unnecessary stubs Date: Thu, 15 Jan 2015 14:34:24 +0100 Message-ID: <2401477.11STyzvieH@xps13> References: <20141209083546.12e936b7@urahara> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Stephen Hemminger Return-path: In-Reply-To: <20141209083546.12e936b7@urahara> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > The read/seek/close stub functions are unnecessary on the > log stream. Per glibc fopencookie man page: > > cookie_read_function_t *read > If *read is a null pointer, then reads from the custom stream > always return end of file. > > cookie_seek_function_t *seek > If *seek is a null pointer, then it is not possible to perform > seek operations on the stream. > > cookie_close_function_t *close > If *close is NULL, then no special action is performed when the > stream is closed. > > Signed-off-by: Stephen Hemminger Acked-by: Thomas Monjalon Applied Thanks -- Thomas