Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 119493 | Differences between
and this patch

Collapse All | Expand All

(-)lib/src/buffer.c (-1 / +1 lines)
Lines 451-457 foreign_t pl_initialise_buffer_lib(term_ Link Here
451
/* repeat PL_register_foreign for each predicate             */
451
/* repeat PL_register_foreign for each predicate             */
452
452
453
install_t
453
install_t
454
install() 
454
install_buffer() 
455
{ 
455
{ 
456
PL_register_foreign("initialise_buffer_lib", 1, pl_initialise_buffer_lib, 0);
456
PL_register_foreign("initialise_buffer_lib", 1, pl_initialise_buffer_lib, 0);
457
PL_register_foreign("add_buffer_element", 4, pl_add_buffer_element, 0);
457
PL_register_foreign("add_buffer_element", 4, pl_add_buffer_element, 0);
(-)lib/src/Makefile.linux (-2 / +2 lines)
Lines 25-33 net_ia: net_ia.c Link Here
25
	$(CC) $(OFLAGS) -c net_ia.c -Wall
25
	$(CC) $(OFLAGS) -c net_ia.c -Wall
26
	$(CC) $(LFLAGS) -o net_ia.so net_ia.o -ldl
26
	$(CC) $(LFLAGS) -o net_ia.so net_ia.o -ldl
27
27
28
buffer: buffer.c
28
buffer: buffer.c ooslib
29
	$(CC) $(OFLAGS) -c buffer.c -Wall
29
	$(CC) $(OFLAGS) -c buffer.c -Wall
30
	$(CC) $(LFLAGS) -o buffer.so buffer.o -ldl
30
	$(CC) $(LFLAGS) -o buffer.so buffer.o ooslib.o -ldl
31
31
32
buffer_pgy: buffer.c
32
buffer_pgy: buffer.c
33
	$(CC) $(OFLAGS) -c buffer.c -Wall
33
	$(CC) $(OFLAGS) -c buffer.c -Wall

Return to bug 119493