From b984dac55bdd0a5b694837fb8fb2ceb07ce9808f Mon Sep 17 00:00:00 2001 From: fujuntang <fujuntang@smartai.com> Date: 星期二, 07 九月 2021 11:25:57 +0800 Subject: [PATCH] resize the buf allocation to dynamic buf. --- shm_util/shm_map.cpp | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/shm_util/shm_map.cpp b/shm_util/shm_map.cpp index d9dffa4..f8bc9dc 100644 --- a/shm_util/shm_map.cpp +++ b/shm_util/shm_map.cpp @@ -3,13 +3,13 @@ */ #include <assert.h> #include "net_mod_server_socket_wrapper.h" -#include "net_mod_socket_wrapper.h" -#include "bus_server_socket_wrapper.h" +//#include "net_mod_socket_wrapper.h" +//#include "bus_server_socket_wrapper.h" #include "shm_mm_wrapper.h" #include "usg_common.h" #include <getopt.h> -#include "logger_factory.h" +//#include "logger_factory.h" static void usage(const char *name) { @@ -25,7 +25,6 @@ printf("%10d \t %10d\n", it->first, it->second.status); } - } @@ -51,4 +50,4 @@ -} \ No newline at end of file +} -- Gitblit v1.8.0