src/ucx/allocator.c

changeset 385
a1f4cb076d2f
parent 254
4784c14aa639
child 415
d938228c382e
--- a/src/ucx/allocator.c	Tue Aug 13 22:14:32 2019 +0200
+++ b/src/ucx/allocator.c	Sat Sep 24 16:26:10 2022 +0200
@@ -1,7 +1,7 @@
 /*
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  *
- * Copyright 2016 Olaf Wintermann. All rights reserved.
+ * Copyright 2017 Mike Becker, Olaf Wintermann All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -26,10 +26,11 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "ucx/allocator.h"
+
 #include <stdlib.h>
-#include "allocator.h"
 
-UcxAllocator default_allocator = {
+static UcxAllocator default_allocator = {
     NULL,
     ucx_default_malloc,
     ucx_default_calloc,

mercurial