make function name match the one in the prototype and on man page

This commit is contained in:
pooka 2003-03-25 22:40:54 +00:00
parent 79294d5b4e
commit 62d35d72ed
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: magic.c,v 1.1.1.1 2003/03/25 22:30:19 pooka Exp $ */
/* $NetBSD: magic.c,v 1.2 2003/03/25 22:40:54 pooka Exp $ */
#include "magic.h"
@ -41,7 +41,7 @@
#if 0
FILE_RCSID("@(#)Id: magic.c,v 1.5 2003/03/24 01:34:21 christos Exp")
#else
__RCSID("$NetBSD: magic.c,v 1.1.1.1 2003/03/25 22:30:19 pooka Exp $");
__RCSID("$NetBSD: magic.c,v 1.2 2003/03/25 22:40:54 pooka Exp $");
#endif
#endif /* lint */
@ -239,7 +239,7 @@ magic_file(struct magic_set *ms, const char *inname)
public const char *
magic_buf(struct magic_set *ms, const void *buf, size_t nb)
magic_buffer(struct magic_set *ms, const void *buf, size_t nb)
{
if (file_reset(ms) == -1)
return NULL;