aboutsummaryrefslogtreecommitdiff
path: root/src/core/nng_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nng_impl.h')
-rw-r--r--src/core/nng_impl.h45
1 files changed, 20 insertions, 25 deletions
diff --git a/src/core/nng_impl.h b/src/core/nng_impl.h
index 5b473434..f45394e9 100644
--- a/src/core/nng_impl.h
+++ b/src/core/nng_impl.h
@@ -1,44 +1,39 @@
-/*
- * 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.
+//
#ifndef CORE_NNG_IMPL_H
#define CORE_NNG_IMPL_H
#include "nng.h"
-/*
- * Internal implementation things for NNG, common definitions, etc.
- * All internal modules wind up including this file to avoid having
- * to figure out which header(s) to include.
- *
- * Hopefully it should be clear by the name that this file and its contents
- * are *NOT* for use outside of this library.
- *
- * Symbols that are private to the library begin with the nni_ prefix, whereas
- * those starting with nng_ are intended for external consumption. The latter
- * symbols should be found in the toplevel nng.h header.
- */
-
+// Internal implementation things for NNG, common definitions, etc.
+// All internal modules wind up including this file to avoid having
+// to figure out which header(s) to include.
+//
+// Hopefully it should be clear by the name that this file and its contents
+// are *NOT* for use outside of this library.
+//
+// Symbols that are private to the library begin with the nni_ prefix, whereas
+// those starting with nng_ are intended for external consumption. The latter
+// symbols should be found in the toplevel nng.h header.
#include "core/defs.h"
#include "core/list.h"
#include "core/init.h"
#include "core/message.h"
#include "core/msgqueue.h"
#include "core/panic.h"
-#include "core/snprintf.h"
#include "core/platform.h"
#include "core/protocol.h"
#include "core/transport.h"
-/* These have to come after the others - particularly transport.h */
+// These have to come after the others - particularly transport.h
#include "core/pipe.h"
#include "core/socket.h"
#include "core/endpt.h"
-#endif /* CORE_NNG_IMPL_H */
+#endif // CORE_NNG_IMPL_H