This file is indexed.

/usr/include/xview_private/primal.h is in xviewg-dev 3.2p1.4-28.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/*      @(#)primal.h 20.17 93/06/28 SMI      */

/*
 *	(c) Copyright 1989 Sun Microsystems, Inc. Sun design patents 
 *	pending in the U.S. and foreign countries. See LEGAL NOTICE 
 *	file for terms of the license.
 */

#ifndef primal_DEFINED
#define primal_DEFINED

#include <xview_private/i18n_impl.h>
#include <xview_private/portable.h>

#						ifndef sunwindow_sun_DEFINED
#include <xview/sun.h>
#						endif
#						ifndef makedev
#include <sys/types.h>
#						endif

#ifdef lint
#define	LINT_IGNORE(arg)
#else
#define	LINT_IGNORE(arg)	arg
#endif

#define EOS		'\0'
	/* End Of String */
#define EQ		==
	/* Avoids typo making test into assignment */

#define NEW(type)	(type *) calloc(1, sizeof(type))

#ifndef SVR4
#define IDENTITY(formal)\
	formal
#endif /* SVR4 */
#ifndef SVR4
#define CONCATENATE(formal1,formal2)\
	IDENTITY(formal1)formal2
#else /* SVR4 */
#define CONCATENATE(formal1,formal2)\
        formal1##formal2
#endif /* SVR4 */

#define	pkg_private	extern


#ifdef USING_SETS
		/* definitions for sets */
#define	BITS_PER_CHAR		8	/* number of bits in a char */
#define	MAX_SET_ELEMENTS	256	/* number of elements in a set */
#define MAX_SET_BYTES		(1 + (MAX_SET_ELEMENTS / BITS_PER_CHAR))

struct set
{
   char bytes[MAX_SET_BYTES];
};

typedef struct set SET;

#ifdef OW_I18N
#define	BYTE(n)		((unsigned char)(n) >> 3) /* byte for element n */
#else
#define	BYTE(n)		((unsigned)(n) >> 3)	/* byte for element n */
#endif
#define	BIT(n)		((n) & 07)		/* bit in byte for element n */

#define	ADD_ELEMENT(set, n)	(set)->bytes[BYTE(n)] |= (1 << BIT(n))
#define	REMOVE_ELEMENT(set, n)	(set)->bytes[BYTE(n)] &= ~(1 << BIT(n))

#define IN(set, n)   (((unsigned)((set)->bytes[BYTE(n)]) >> (int)BIT(n)) & 01)

#define	CLEAR_SET(set)	XV_BZERO((set)->bytes, MAX_SET_BYTES)

#define FILL_SET(set)	{ register int i;\
			  for (i = 0; i < MAX_SET_BYTES; i++)\
				(set)->bytes[i] = 0xFF;\
			}
#endif

#ifdef XV_DEBUG
#define AN_ERROR(expr)	((expr) && take_breakpoint())
#define ASSERT(expr)	if (expr) {} else abort()
#define ASSUME(expr)	if (expr) {} else take_breakpoint()
#else
#define AN_ERROR(expr)	(expr)
#define ASSERT(expr)
#define ASSUME(expr)
#endif

#endif