Changeset 681a985 in mainline
- Timestamp:
- 2012-08-17T04:30:42Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a7356dc
- Parents:
- b224a3e
- Location:
- uspace
- Files:
-
- 3 added
- 4 edited
- 24 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile
rb224a3e r681a985 206 206 lib/usbhid \ 207 207 lib/usbvirt \ 208 lib/bithenge \ 208 209 lib/posix 209 210 -
uspace/Makefile.common
rb224a3e r681a985 130 130 LIBSCSI_PREFIX = $(LIB_PREFIX)/scsi 131 131 132 LIBBITHENGE_PREFIX = $(LIB_PREFIX)/bithenge 133 132 134 ifeq ($(STATIC_NEEDED),y) 133 135 STATIC_BUILD = y -
uspace/app/bithenge/Makefile
rb224a3e r681a985 28 28 29 29 USPACE_PREFIX = ../.. 30 LIBS = $(LIBB LOCK_PREFIX)/libblock.a31 EXTRA_CFLAGS = -I$(LIBB LOCK_PREFIX) -D__HELENOS__ -Ihelenos30 LIBS = $(LIBBITHENGE_PREFIX)/libbithenge.a $(LIBBLOCK_PREFIX)/libblock.a 31 EXTRA_CFLAGS = -I$(LIBBITHENGE_PREFIX) -D__HELENOS__ 32 32 BINARY = bithenge 33 33 34 34 SOURCES = \ 35 helenos/block.c \ 36 blob.c \ 37 compound.c \ 38 expression.c \ 39 file.c \ 40 print.c \ 41 script.c \ 42 sequence.c \ 43 source.c \ 44 test.c \ 45 transform.c \ 46 tree.c 35 test.c 47 36 48 37 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/bithenge/Makefile.linux
rb224a3e r681a985 29 29 CFLAGS += -fexec-charset=UTF-8 -finput-charset=UTF-8 -std=gnu99 -pipe 30 30 CFLAGS += -Wall -Wextra -Werror -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes -Werror-implicit-function-declaration -Wwrite-strings 31 CFLAGS += -ftrapv 31 32 CFLAGS += -g 32 CFLAGS += -Ilinux 33 34 LIBBITHENGE_PREFIX = ../../lib/bithenge 35 CFLAGS += -I$(LIBBITHENGE_PREFIX) 36 LIBS += $(LIBBITHENGE_PREFIX)/libbithenge.a 33 37 34 38 BINARY = bithenge 35 39 36 40 SOURCES = \ 37 blob.c \ 38 compound.c \ 39 expression.c \ 40 file.c \ 41 print.c \ 42 script.c \ 43 sequence.c \ 44 source.c \ 45 test.c \ 46 transform.c \ 47 tree.c 41 test.c 48 42 49 43 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 50 44 51 45 $(BINARY): $(OBJECTS) 52 $(CC) $(CFLAGS) -o $@ $^ 46 $(CC) $(CFLAGS) -o $@ $^ $(LIBS) 53 47 54 48 clean: -
uspace/lib/bithenge/expression.h
rb224a3e r681a985 73 73 return; 74 74 assert(self->ops); 75 assert(self->refs > 0); 75 76 if (--self->refs == 0) 76 77 self->ops->destroy(self); -
uspace/lib/bithenge/transform.h
rb224a3e r681a985 110 110 return; 111 111 assert(self->ops); 112 assert(self->refs > 0); 112 113 if (--self->refs == 0) 113 114 self->ops->destroy(self); -
uspace/lib/bithenge/tree.c
rb224a3e r681a985 76 76 if (!node) 77 77 return; 78 assert (node->refs > 0); 78 79 if (--node->refs == 0) 79 80 node_destroy(node);
Note:
See TracChangeset
for help on using the changeset viewer.