summaryrefslogtreecommitdiff
path: root/monitor_mm.c
diff options
context:
space:
mode:
authormouring <mouring>2002-06-06 21:40:51 +0000
committermouring <mouring>2002-06-06 21:40:51 +0000
commit53f46311ddfd790a9ec16fd841d3b53eb2715c7a (patch)
treef951ff8e59eb37cfe37cfb3771e2589bbcb07bcc /monitor_mm.c
parentc85454b1b730ff8e0e055dc79d3a5a51f50e6b79 (diff)
downloadopenssh-53f46311ddfd790a9ec16fd841d3b53eb2715c7a.tar.gz
- markus@cvs.openbsd.org 2002/06/04 23:05:49
[cipher.c monitor.c monitor_fdpass.c monitor_mm.c monitor_wrap.c] __FUNCTION__ -> __func__ NOTE: This includes all portable references also.
Diffstat (limited to 'monitor_mm.c')
-rw-r--r--monitor_mm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/monitor_mm.c b/monitor_mm.c
index 17b319cc..30c9825e 100644
--- a/monitor_mm.c
+++ b/monitor_mm.c
@@ -24,7 +24,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: monitor_mm.c,v 1.5 2002/05/28 16:45:27 stevesk Exp $");
+RCSID("$OpenBSD: monitor_mm.c,v 1.6 2002/06/04 23:05:49 markus Exp $");
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
@@ -91,7 +91,7 @@ mm_create(struct mm_master *mmalloc, size_t size)
fatal("mmap(%lu): %s", (u_long)size, strerror(errnor));
#else
fatal("%s: UsePrivilegeSeparation=yes not supported",
- __FUNCTION__);
+ __func__);
#endif
mm->address = address;
@@ -136,7 +136,7 @@ mm_destroy(struct mm_master *mm)
strerror(errno));
#else
fatal("%s: UsePrivilegeSeparation=yes not supported",
- __FUNCTION__);
+ __func__);
#endif
if (mm->mmalloc == NULL)
xfree(mm);
@@ -151,7 +151,7 @@ mm_xmalloc(struct mm_master *mm, size_t size)
address = mm_malloc(mm, size);
if (address == NULL)
- fatal("%s: mm_malloc(%lu)", __FUNCTION__, (u_long)size);
+ fatal("%s: mm_malloc(%lu)", __func__, (u_long)size);
return (address);
}
@@ -300,7 +300,7 @@ mm_share_sync(struct mm_master **pmm, struct mm_master **pmmalloc)
struct mm_master *mmold;
struct mmtree rb_free, rb_allocated;
- debug3("%s: Share sync", __FUNCTION__);
+ debug3("%s: Share sync", __func__);
mm = *pmm;
mmold = mm->mmalloc;
@@ -325,7 +325,7 @@ mm_share_sync(struct mm_master **pmm, struct mm_master **pmmalloc)
*pmm = mm;
*pmmalloc = mmalloc;
- debug3("%s: Share sync end", __FUNCTION__);
+ debug3("%s: Share sync end", __func__);
}
void