#include "patchlevel.h"
#ifndef lint
-FILE_RCSID("@(#)$File: file.c,v 1.106 2007/01/16 14:54:57 ljt Exp $")
+FILE_RCSID("@(#)$File: file.c,v 1.107 2007/01/25 21:05:46 christos Exp $")
#endif /* lint */
private void
/*ARGSUSED*/
-load(const char *m __unused, int flags)
+load(const char *m, int flags)
{
- if (magic)
+ if (magic || m == NULL)
return;
magic = magic_open(flags);
if (magic == NULL) {
*/
/*
* file.h - definitions for file(1) program
- * @(#)$File: file.h,v 1.88 2007/02/05 16:46:40 christos Exp $
+ * @(#)$File: file.h,v 1.89 2007/03/01 22:14:54 christos Exp $
*/
#ifndef __file_h__
#endif
#endif
-#ifndef __unused
-#if __GNUC_PREREQ__(2, 7)
-#define __unused __attribute__((__unused__))
-#else
-#define __unused /* delete */
-#endif
-#endif
-
#ifndef MIN
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#endif