summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/libsm/local.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.sbin/sendmail/libsm/local.h')
-rw-r--r--gnu/usr.sbin/sendmail/libsm/local.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/gnu/usr.sbin/sendmail/libsm/local.h b/gnu/usr.sbin/sendmail/libsm/local.h
index 47afd0cf251..669c4ea838b 100644
--- a/gnu/usr.sbin/sendmail/libsm/local.h
+++ b/gnu/usr.sbin/sendmail/libsm/local.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -11,7 +11,7 @@
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
- * $Sendmail: local.h,v 1.48 2001/05/14 20:42:29 gshapiro Exp $
+ * $Sendmail: local.h,v 1.51 2002/02/20 02:40:24 ca Exp $
*/
/*
@@ -132,25 +132,9 @@ extern bool Sm_IO_DidInit;
(fp)->f_ub.smb_base = NULL; \
}
-/* Test for an fgetln() buffer. */
-#define HASLB(fp) ((fp)->f_lb.smb_base != NULL)
-#define FREELB(fp) \
-{ \
- sm_free((char *)(fp)->f_lb.smb_base); \
- (fp)->f_lb.smb_base = NULL; \
-}
-
-struct sm_io_obj
-{
- int file;
-};
-
extern const char SmFileMagic[];
-#ifndef ALIGNBYTES
-# define ALIGNBYTES (sizeof(long) - 1)
-# define ALIGN(p) (((unsigned long)(p) + ALIGNBYTES) & ~ALIGNBYTES)
-#endif /* ALIGNBYTES */
+#define SM_ALIGN(p) (((unsigned long)(p) + SM_ALIGN_BITS) & ~SM_ALIGN_BITS)
#define sm_io_flockfile(fp) ((void) 0)
#define sm_io_funlockfile(fp) ((void) 0)