~ubuntu-branches/ubuntu/hardy/file/hardy-proposed

« back to all changes in this revision

Viewing changes to src/file.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2007-06-01 20:29:00 UTC
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20070601202900-gzjrg1s331z9632p
Tags: upstream-4.21
ImportĀ upstreamĀ versionĀ 4.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 */
28
28
/*
29
29
 * file.h - definitions for file(1) program
30
 
 * @(#)$File: file.h,v 1.89 2007/03/01 22:14:54 christos Exp $
 
30
 * @(#)$File: file.h,v 1.91 2007/03/25 03:13:47 christos Exp $
31
31
 */
32
32
 
33
33
#ifndef __file_h__
79
79
#endif
80
80
#endif
81
81
 
82
 
#ifndef __unused
83
 
#if __GNUC_PREREQ__(2, 7)
84
 
#define __unused        __attribute__((__unused__))
85
 
#else
86
 
#define __unused        /* delete */
87
 
#endif
88
 
#endif
89
 
 
90
82
#ifndef MIN
91
83
#define MIN(a,b)        (((a) < (b)) ? (a) : (b))
92
84
#endif
332
324
protected size_t file_mbswidth(const char *);
333
325
protected const char *file_getbuffer(struct magic_set *);
334
326
protected ssize_t sread(int, void *, size_t, int);
335
 
#ifdef ENABLE_CONDITIONALS
336
327
protected int file_check_mem(struct magic_set *, unsigned int);
337
 
#endif
338
328
 
339
329
#ifndef COMPILE_ONLY
340
330
extern const char *file_names[];