Skip to content

Commit

Permalink
lock: remove deprecated module (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored Jun 12, 2022
1 parent d8de40c commit ab2870a
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 228 deletions.
11 changes: 0 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ set(HEADERS
include/re_jbuf.h
include/re_json.h
include/re_list.h
include/re_lock.h
include/re_main.h
include/re_mbuf.h
include/re_md5.h
Expand Down Expand Up @@ -552,16 +551,6 @@ elseif(UNIX)
endif()


if(CMAKE_USE_WIN32_THREADS_INIT)
list(APPEND SRCS
src/lock/win32/lock.c
)
else()
list(APPEND SRCS
src/lock/lock.c
)
endif()

if(HAVE_THREADS)
#Do nothing
elseif(CMAKE_USE_WIN32_THREADS_INIT)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ MODULES += dns
MODULES += md5 crc32 sha hmac base64
MODULES += udp sa net tcp tls
MODULES += list mbuf hash
MODULES += fmt tmr trace btrace main mem dbg sys thread lock mqueue
MODULES += fmt tmr trace btrace main mem dbg sys thread mqueue
MODULES += mod conf
MODULES += bfcp
MODULES += aes srtp
Expand Down
1 change: 0 additions & 1 deletion include/re.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ extern "C" {
#include "re_httpauth.h"
#include "re_ice.h"
#include "re_jbuf.h"
#include "re_lock.h"
#include "re_net.h"
#include "re_main.h"
#include "re_md5.h"
Expand Down
18 changes: 0 additions & 18 deletions include/re_lock.h

This file was deleted.

114 changes: 0 additions & 114 deletions src/lock/lock.c

This file was deleted.

11 changes: 0 additions & 11 deletions src/lock/mod.mk

This file was deleted.

70 changes: 0 additions & 70 deletions src/lock/win32/lock.c

This file was deleted.

1 change: 0 additions & 1 deletion src/thread/posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define _GNU_SOURCE 1

#include <re_types.h>
#include <re_lock.h>
#include <re_mem.h>
#include <re_thread.h>

Expand Down
1 change: 0 additions & 1 deletion src/thread/win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include <process.h>
#include <re_types.h>
#include <re_lock.h>
#include <re_mem.h>
#include <re_thread.h>

Expand Down

0 comments on commit ab2870a

Please sign in to comment.