Skip to content

Commit

Permalink
Merge pull request Tencent#31 from dy2012/master
Browse files Browse the repository at this point in the history
delete extra string.h  header file
  • Loading branch information
leiffyli authored Jun 14, 2017
2 parents 425878b + ad9263e commit ca8fe05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions co_closure.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ struct stCoClosure_t
//-- 1.1 comac_argc

#define comac_get_args_cnt( ... ) comac_arg_n( __VA_ARGS__ )
#define comac_arg_n( _1,_2,_3,_4,_5,_6,_7,N,...) N
#define comac_arg_n( _0,_1,_2,_3,_4,_5,_6,_7,N,...) N
#define comac_args_seqs() 7,6,5,4,3,2,1,0
#define comac_join_1( x,y ) x##y

#define comac_argc( ... ) comac_get_args_cnt( __VA_ARGS__,comac_args_seqs() )
#define comac_argc( ... ) comac_get_args_cnt( 0,##__VA_ARGS__,comac_args_seqs() )
#define comac_join( x,y) comac_join_1( x,y )

//-- 1.2 repeat
Expand Down
1 change: 0 additions & 1 deletion co_epoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <string.h>

#ifndef __APPLE__

Expand Down

0 comments on commit ca8fe05

Please sign in to comment.