All paths moved to path.h.

Cleanup in curses.h: removed reg definition.
All include files reformatted for 4-space indent.
This commit is contained in:
Serge Vakulenko
2015-06-24 20:57:08 -07:00
parent 81a8a8379d
commit 9d39282ae9
84 changed files with 1420 additions and 1447 deletions

View File

@@ -1,9 +1,9 @@
/* struct.h 4.1 83/05/03 */
/* struct.h 4.1 83/05/03 */
/*
* access to information relating to the fields of a structure
*/
#define fldoff(str, fld) ((int)&(((struct str *)0)->fld))
#define fldsiz(str, fld) (sizeof(((struct str *)0)->fld))
#define strbase(str, ptr, fld) ((struct str *)((char *)(ptr)-fldoff(str, fld)))
#define fldoff(str, fld) ((int)&(((struct str *)0)->fld))
#define fldsiz(str, fld) (sizeof(((struct str *)0)->fld))
#define strbase(str, ptr, fld) ((struct str *)((char *)(ptr)-fldoff(str, fld)))