Remove silly redundant #ifdefs.

This commit is contained in:
mycroft 1994-05-04 04:09:34 +00:00
parent 495d3519fa
commit e5a2605525
8 changed files with 10 additions and 34 deletions

View File

@ -37,15 +37,13 @@
*
* from: Utah Hdr: hpux_compat.c 1.41 91/04/06
* from: @(#)hpux_compat.c 7.16 (Berkeley) 5/30/91
* $Id: hpux_compat.c,v 1.5 1994/04/26 22:33:28 mycroft Exp $
* $Id: hpux_compat.c,v 1.6 1994/05/04 04:09:34 mycroft Exp $
*/
/*
* Various HPUX compatibility routines
*/
#ifdef HPUXCOMPAT
#include "param.h"
#include "systm.h"
#include "signalvar.h"
@ -1367,7 +1365,7 @@ hpuxdumpu(vp, cred)
/*
* The remaining routines are essentially the same as those in kern_xxx.c
* and vfs_xxx.c as defined under "#ifdef COMPAT". We replicate them here
* to avoid HPUXCOMPAT dependencies in those files and to make sure that
* to avoid COMPAT_HPUX dependencies in those files and to make sure that
* HP-UX compatibility still works even when COMPAT is not defined.
*/
/* #ifdef COMPAT */
@ -1691,5 +1689,3 @@ ohpux_stat1(vp, ub)
return (copyout((caddr_t)&ds, (caddr_t)ub, sizeof(ds)));
}
/* #endif */
#endif

View File

@ -37,15 +37,13 @@
*
* from: Utah Hdr: hpux_net.c 1.33 89/08/23
* from: @(#)hpux_net.c 7.7 (Berkeley) 2/13/91
* $Id: hpux_net.c,v 1.4 1994/01/07 00:43:50 mycroft Exp $
* $Id: hpux_net.c,v 1.5 1994/05/04 04:09:36 mycroft Exp $
*/
/*
* Network related HP-UX compatibility routines
*/
#ifdef HPUXCOMPAT
#include "sys/param.h"
#include "sys/systm.h"
#include "sys/kernel.h"
@ -230,4 +228,3 @@ bad:
(void) m_free(m);
return (error);
}
#endif

View File

@ -37,15 +37,13 @@
*
* from: Utah Hdr: hpux_sig.c 1.1 90/07/09
* from: @(#)hpux_sig.c 7.8 (Berkeley) 4/20/91
* $Id: hpux_sig.c,v 1.5 1994/05/04 03:47:24 mycroft Exp $
* $Id: hpux_sig.c,v 1.6 1994/05/04 04:09:37 mycroft Exp $
*/
/*
* Signal related HPUX compatibility routines
*/
#ifdef HPUXCOMPAT
#include "param.h"
#include "systm.h"
#include "kernel.h"
@ -453,4 +451,3 @@ bsdtohpuxmask(mask)
nmask |= sigmask(nsig);
return(nmask);
}
#endif

View File

@ -37,13 +37,12 @@
*
* from: Utah Hdr: hpux_tty.c 1.1 90/07/09
* from: @(#)hpux_tty.c 7.9 (Berkeley) 5/30/91
* $Id: hpux_tty.c,v 1.4 1994/01/07 00:44:05 mycroft Exp $
* $Id: hpux_tty.c,v 1.5 1994/05/04 04:09:39 mycroft Exp $
*/
/*
* stty/gtty/termio emulation stuff
*/
#ifdef HPUXCOMPAT
#include "param.h"
#include "systm.h"
@ -424,4 +423,3 @@ getsettty(p, fdes, com, cmarg)
return (error);
}
/* #endif */
#endif

View File

@ -37,15 +37,13 @@
*
* from: Utah Hdr: hpux_compat.c 1.41 91/04/06
* from: @(#)hpux_compat.c 7.16 (Berkeley) 5/30/91
* $Id: hpux_compat.c,v 1.5 1994/04/26 22:33:28 mycroft Exp $
* $Id: hpux_compat.c,v 1.6 1994/05/04 04:09:34 mycroft Exp $
*/
/*
* Various HPUX compatibility routines
*/
#ifdef HPUXCOMPAT
#include "param.h"
#include "systm.h"
#include "signalvar.h"
@ -1367,7 +1365,7 @@ hpuxdumpu(vp, cred)
/*
* The remaining routines are essentially the same as those in kern_xxx.c
* and vfs_xxx.c as defined under "#ifdef COMPAT". We replicate them here
* to avoid HPUXCOMPAT dependencies in those files and to make sure that
* to avoid COMPAT_HPUX dependencies in those files and to make sure that
* HP-UX compatibility still works even when COMPAT is not defined.
*/
/* #ifdef COMPAT */
@ -1691,5 +1689,3 @@ ohpux_stat1(vp, ub)
return (copyout((caddr_t)&ds, (caddr_t)ub, sizeof(ds)));
}
/* #endif */
#endif

View File

@ -37,15 +37,13 @@
*
* from: Utah Hdr: hpux_net.c 1.33 89/08/23
* from: @(#)hpux_net.c 7.7 (Berkeley) 2/13/91
* $Id: hpux_net.c,v 1.4 1994/01/07 00:43:50 mycroft Exp $
* $Id: hpux_net.c,v 1.5 1994/05/04 04:09:36 mycroft Exp $
*/
/*
* Network related HP-UX compatibility routines
*/
#ifdef HPUXCOMPAT
#include "sys/param.h"
#include "sys/systm.h"
#include "sys/kernel.h"
@ -230,4 +228,3 @@ bad:
(void) m_free(m);
return (error);
}
#endif

View File

@ -37,15 +37,13 @@
*
* from: Utah Hdr: hpux_sig.c 1.1 90/07/09
* from: @(#)hpux_sig.c 7.8 (Berkeley) 4/20/91
* $Id: hpux_sig.c,v 1.5 1994/05/04 03:47:24 mycroft Exp $
* $Id: hpux_sig.c,v 1.6 1994/05/04 04:09:37 mycroft Exp $
*/
/*
* Signal related HPUX compatibility routines
*/
#ifdef HPUXCOMPAT
#include "param.h"
#include "systm.h"
#include "kernel.h"
@ -453,4 +451,3 @@ bsdtohpuxmask(mask)
nmask |= sigmask(nsig);
return(nmask);
}
#endif

View File

@ -37,13 +37,12 @@
*
* from: Utah Hdr: hpux_tty.c 1.1 90/07/09
* from: @(#)hpux_tty.c 7.9 (Berkeley) 5/30/91
* $Id: hpux_tty.c,v 1.4 1994/01/07 00:44:05 mycroft Exp $
* $Id: hpux_tty.c,v 1.5 1994/05/04 04:09:39 mycroft Exp $
*/
/*
* stty/gtty/termio emulation stuff
*/
#ifdef HPUXCOMPAT
#include "param.h"
#include "systm.h"
@ -424,4 +423,3 @@ getsettty(p, fdes, com, cmarg)
return (error);
}
/* #endif */
#endif