Dobry den,

chc pouzit fumkce critical_enter(void); a critical_exit(void);
Když vsak do zdrojaku vlozim
 #include <sys/param.h>
 #include <sys/systm.h>
Tak to pri prekladu vysype hromadu chyb.


In file included from hastor.c:15:
/usr/include/sys/systm.h:240: error: expected declaration specifiers or
 '...' before 'uintfptr_t'
/usr/include/sys/systm.h:246: error: expected declaration specifiers or
'...' before 'uintfptr_t'
/usr/include/sys/systm.h:271: error: conflicting types for 'setenv'
/usr/include/stdlib.h:159: error: previous declaration of 'setenv' was here
In file included from /usr/include/sys/systm.h:286,
                 from hastor.c:15:


atd....

PC-BSD  9.0

-- 
FreeBSD mailing list ([email protected])
http://www.freebsd.cz/listserv/listinfo/users-l

Odpovedet emailem