ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/mgflib/lookup.h
(Generate patch)

Comparing ray/src/cv/mgflib/lookup.h (file contents):
Revision 1.8 by greg, Tue Mar 18 11:05:34 1997 UTC vs.
Revision 1.9 by gwlarson, Fri Sep 4 09:05:09 1998 UTC

# Line 14 | Line 14 | typedef struct {
14  
15   #ifdef NOPROTO
16   typedef struct {
17 <        long    (*hashf)();     /* key hash function */
17 >        unsigned long   (*hashf)();     /* key hash function */
18          int     (*keycmp)();    /* key comparison function */
19          void    (*freek)();     /* free a key */
20          void    (*freed)();     /* free the data */
# Line 24 | Line 24 | typedef struct {
24   } LUTAB;
25   #else
26   typedef struct {
27 <        long    (*hashf)();     /* key hash function */
27 >        unsigned long   (*hashf)(char *);       /* key hash function */
28          int     (*keycmp)(const char *, const char *);  /* key comparison function */
29          void    (*freek)(char *);       /* free a key */
30          void    (*freed)(char *);       /* free the data */
# Line 83 | Line 83 | extern int     lu_init();
83   extern LUENT    *lu_find();
84   extern void     lu_delete();
85   extern void     lu_done();
86 < extern long     lu_shash();
86 > extern unsigned long    lu_shash();
87   #else
88   extern int      lu_init(LUTAB *, int);
89   extern LUENT    *lu_find(LUTAB *, char *);
90   extern void     lu_delete(LUTAB *, char *);
91   extern void     lu_done(LUTAB *);
92 < extern long     lu_shash(char *);
92 > extern unsigned long    lu_shash(char *);
93   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines