Index: sendmail/bf.c
diff -u sendmail/bf.c:8.51 sendmail/bf.c:8.52
--- sendmail/bf.c:8.51	Mon Mar  4 13:51:25 2002
+++ sendmail/bf.c	Thu Apr 11 14:00:15 2002
@@ -202,12 +202,24 @@
 **		any value of errno specified by sm_io_setinfo()
 */
 
+#ifdef __STDC__
+/*
+**  XXX This is a temporary hack since MODE_T on HP-UX 10.x is short.
+**	If we use K&R here, the compiler will complain about
+**	Inconsistent parameter list declaration
+**	due to the change from short to int.
+*/
+
 SM_FILE_T *
+bfopen(char *filename, MODE_T fmode, size_t bsize, long flags)
+#else /* __STDC__ */
+SM_FILE_T *
 bfopen(filename, fmode, bsize, flags)
 	char *filename;
 	MODE_T fmode;
 	size_t bsize;
 	long flags;
+#endif /* __STDC__ */
 {
 	MODE_T omask;
 	SM_FILE_T SM_IO_SET_TYPE(vector, BF_FILE_TYPE, sm_bfopen, sm_bfclose,

