Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
hide symbols by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mheily committed Mar 3, 2014
1 parent 2ba280d commit 150f70a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ libpthread_workqueue_la_SOURCES = src/api.c src/witem_cache.c src/posix/manager.

libpthread_workqueue_la_LIBADD = -lpthread -lrt

libpthread_workqueue_la_CFLAGS = -I./include -I./src -Wall -Wextra -Werror -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -D_GNU_SOURCE -std=c99
libpthread_workqueue_la_CFLAGS = -I./include -I./src -Wall -Wextra -Werror -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -D_GNU_SOURCE -std=c99 -fvisibility=hidden

check_PROGRAMS = test_api test_latency test_witem_cache
TESTS = test_api test_latency test_witem_cache
Expand Down
3 changes: 2 additions & 1 deletion testing/api/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ int main() {
pthread_workqueue_init_np();

#ifdef __linux__
printf("runqueue length=%d\n", linux_get_runqueue_length());
//FIXME: This is now a hidden symbol
//printf("runqueue length=%d\n", linux_get_runqueue_length());
#endif

sem_init(&test_complete, 0, 0);
Expand Down

0 comments on commit 150f70a

Please sign in to comment.