update code

This commit is contained in:
zhuchunyi 2019-11-06 19:04:27 +08:00
parent 03b0d5a2ee
commit 6f727134ad
6 changed files with 1 additions and 6 deletions

View File

@ -2,7 +2,7 @@
%global _release 20190919.235256.gitc4730268
Name: clibcni
Version: %{_version}
Release: %{_release}%{?dist}
Release: %{_release}
Summary: CNI - the Container Network Interface
Group: System Environment/Libraries
License: Mulan PSL v1

View File

@ -1,2 +1 @@
#cmakedefine VERSION "@CLIBCNI_VERSION@"

View File

@ -16,7 +16,6 @@
#ifndef CLIBCNI_CONF_H
#define CLIBCNI_CONF_H
#include <stdlib.h>
#include "net_conf_list.h"
#ifdef __cplusplus

View File

@ -15,7 +15,6 @@
#define _GNU_SOURCE
#include "tools.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>

View File

@ -33,7 +33,6 @@ CODE = '''// Auto generated file. Do not edit!
# include <stdbool.h>
# include <stdio.h>
# include <string.h>
# include <stdlib.h>
# include <stdint.h>
# include <yajl/yajl_tree.h>
# include <yajl/yajl_gen.h>

View File

@ -17,7 +17,6 @@
#endif
#include "current.h"
#include <stdio.h>
#include <stdlib.h>
#include "utils.h"
#include "log.h"