[58] in Zephyr_Bugs
patches to header files for ANSI compliance
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Jul 16 00:28:57 1990
Date: Mon, 16 Jul 90 00:28:42 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bug-zephyr@ATHENA.MIT.EDU
The following patches need to be applied to the zephyr source tree for
better ANSI C compliance in header files.
*** /source/athena/athena.lib/zephyr/zhm/zhm.h Sun Feb 18 20:50:17 1990
--- /tmp/source/athena/athena.lib/zephyr/zhm/zhm.h Sun Jul 15 20:25:31 1990
***************
*** 89,95 ****
#ifndef ok
#define MACHINE "unknown"
! #endif ok
#undef ok
! #endif !__HM_H__
--- 89,95 ----
#ifndef ok
#define MACHINE "unknown"
! #endif /* ok */
#undef ok
! #endif /* !__HM_H__ */
*** /source/athena/athena.lib/zephyr/ozwgc/zbrowser/Viewport.h Mon Jul 11 09:58:13 1988
--- /tmp/source/athena/athena.lib/zephyr/ozwgc/zbrowser/Viewport.h Sun Jul 15 20:25:33 1990
***************
*** 44,47 ****
typedef struct _ViewportClassRec *ViewportWidgetClass;
typedef struct _ViewportRec *ViewportWidget;
! #endif _Viewport_h
--- 44,47 ----
typedef struct _ViewportClassRec *ViewportWidgetClass;
typedef struct _ViewportRec *ViewportWidget;
! #endif /* _Viewport_h */
*** /source/athena/athena.lib/zephyr/makedepend/def.h Thu Sep 22 13:52:37 1988
--- /tmp/source/athena/athena.lib/zephyr/makedepend/def.h Sun Jul 15 20:25:35 1990
***************
*** 44,50 ****
#define debug4 ((debug&0x0010)==0) ? debug : log /* unused */
#define debug5 ((debug&0x0020)==0) ? debug : log /* unused */
#define debug6 ((debug&0x0040)==0) ? debug : log /* unused */
! #else DEBUG
#define debug0
#define debug1
#define debug2
--- 44,50 ----
#define debug4 ((debug&0x0010)==0) ? debug : log /* unused */
#define debug5 ((debug&0x0020)==0) ? debug : log /* unused */
#define debug6 ((debug&0x0040)==0) ? debug : log /* unused */
! #else /* DEBUG */
#define debug0
#define debug1
#define debug2
***************
*** 52,58 ****
#define debug4
#define debug5
#define debug6
! #endif DEBUG
typedef u_char boolean;
--- 52,58 ----
#define debug4
#define debug5
#define debug6
! #endif /* DEBUG */
typedef u_char boolean;
*** /source/athena/athena.lib/zephyr/include/zephyr/zephyr_internal.h Sun Feb 26 20:31:38 1989
--- /tmp/source/athena/athena.lib/zephyr/include/zephyr/zephyr_internal.h Sun Jul 15 20:25:37 1990
***************
*** 91,94 ****
extern Code_t Z_XmitFragment();
extern void Z_RemQueue();
! #endif !__ZINTERNAL_H__
--- 91,94 ----
extern Code_t Z_XmitFragment();
extern void Z_RemQueue();
! #endif /* !__ZINTERNAL_H__ */
*** /source/athena/athena.lib/zephyr/include/zephyr/zephyr.h Tue Apr 3 16:36:17 1990
--- /tmp/source/athena/athena.lib/zephyr/include/zephyr/zephyr.h Sun Jul 15 20:25:39 1990
***************
*** 248,251 ****
#define USER_SHUTDOWN "SHUTDOWN" /* Opcode: Go catatonic */
#define USER_STARTUP "STARTUP" /* Opcode: Come out of it */
! #endif !__ZEPHYR_H__
--- 248,251 ----
#define USER_SHUTDOWN "SHUTDOWN" /* Opcode: Go catatonic */
#define USER_STARTUP "STARTUP" /* Opcode: Come out of it */
! #endif /* !__ZEPHYR_H__ */
*** /source/athena/athena.lib/zephyr/include/zephyr/acl.h Sun Feb 26 20:31:35 1989
--- /tmp/source/athena/athena.lib/zephyr/include/zephyr/acl.h Sun Jul 15 20:25:40 1990
***************
*** 17,20 ****
#ifndef __ACL__
#define __ACL__
extern int acl_check(), acl_add(), acl_delete(), acl_initialize();
! #endif __ACL__
--- 17,20 ----
#ifndef __ACL__
#define __ACL__
extern int acl_check(), acl_add(), acl_delete(), acl_initialize();
! #endif /* __ACL__ */