aboutsummaryrefslogtreecommitdiff
path: root/src/platform/posix/posix_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/posix/posix_alloc.c')
-rw-r--r--src/platform/posix/posix_alloc.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/platform/posix/posix_alloc.c b/src/platform/posix/posix_alloc.c
index eb5c889e..83fe305d 100644
--- a/src/platform/posix/posix_alloc.c
+++ b/src/platform/posix/posix_alloc.c
@@ -1,11 +1,11 @@
-/*
- * Copyright 2016 Garrett D'Amore <garrett@damore.org>
- *
- * This software is supplied under the terms of the MIT License, a
- * copy of which should be located in the distribution where this
- * file was obtained (LICENSE.txt). A copy of the license may also be
- * found online at https://opensource.org/licenses/MIT.
- */
+//
+// Copyright 2016 Garrett D'Amore <garrett@damore.org>
+//
+// This software is supplied under the terms of the MIT License, a
+// copy of which should be located in the distribution where this
+// file was obtained (LICENSE.txt). A copy of the license may also be
+// found online at https://opensource.org/licenses/MIT.
+//
#include "core/nng_impl.h"
@@ -13,9 +13,7 @@
#include <stdlib.h>
-/*
- * POSIX memory allocation. This is pretty much standard C.
- */
+// POSIX memory allocation. This is pretty much standard C.
void *
nni_alloc(size_t size)
{