summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/edit.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-24 13:54:31 +0000
committerphk <phk@FreeBSD.org>2000-10-24 13:54:31 +0000
commit520b5dea3bc3fa506202542785d119227b1aeaf0 (patch)
tree8502a9511f4aef5d4c5a3497cd714706074c5177 /usr.bin/mail/edit.c
parentb73016669c67b64323421a9f7a49c54a79fdbe1d (diff)
downloadFreeBSD-src-520b5dea3bc3fa506202542785d119227b1aeaf0.zip
FreeBSD-src-520b5dea3bc3fa506202542785d119227b1aeaf0.tar.gz
Add $FreeBSD$
Rename local offsetof() macro to boffsetof() to avoid clashing with the offsetof() from <stddef.h>
Diffstat (limited to 'usr.bin/mail/edit.c')
-rw-r--r--usr.bin/mail/edit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mail/edit.c b/usr.bin/mail/edit.c
index 2042719..c341441 100644
--- a/usr.bin/mail/edit.c
+++ b/usr.bin/mail/edit.c
@@ -29,6 +29,8 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
#ifndef lint
@@ -111,7 +113,7 @@ edit1(msgvec, type)
(void) fseek(otf, 0L, 2);
size = ftell(otf);
mp->m_block = blockof(size);
- mp->m_offset = offsetof(size);
+ mp->m_offset = boffsetof(size);
mp->m_size = fsize(fp);
mp->m_lines = 0;
mp->m_flag |= MODIFY;
OpenPOWER on IntegriCloud