1: #include "../src/parms.h"
2: #include "../src/structs.h"
3:
4: /*
5: * structsize
6: *
7: * Tells you the size of some of the structures in the
8: * data base.
9: *
10: * This is useful when installing new versions of the
11: * notesfile code. I have recently (Sept 6, '83) played
12: * with one of the structures and it resulted in a
13: * non-obvious (but quickly figured out) change in the
14: * size of the data structures. This broke extant notesfiles.
15: *
16: * If things don't fly when you first use new code, I would
17: * suggest compiling and running this file with both the
18: * old and new structure files (it will work with both)
19: * and see what changed. Then play with the filler space
20: * that I left in the structure definitions to make things
21: * work out.
22: *
23: * Sorry that things like this have to happen. *sigh*
24: *
25: * -- Ray Essick September 6, 1983
26: *
27: * $Header: /mntb/3/srg/notes/work/utility/RCS/structsize.c,v 1.6 84/03/07 19:04:42 notes Exp $
28: *
29: */
30:
31: main ()
32: {
33:
34: printf ("size of descr_f %d\n", sizeof (struct descr_f));
35: printf ("size of note_f %d\n", sizeof (struct note_f));
36: printf ("size of resp_f %d\n", sizeof (struct resp_f));
37: exit (0);
38: }
Defined functions
main
defined in line
31;
never used