1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2025-01-18 22:51:05 +02:00
Werner Almesberger bbf9c42bc8 qpkg: move "struct pkg" and its allocation from gobble.c and qpkg.h to pkg.[hc]
- Makefile (OBJS_qpkg): added pkg.o
- gobble.c (gobble_buf): moved "struct pkg" allocation to function new_pkg
  in pkg.c
- qpkg.h: moved "struct pkg" and subordinate structures to pkg.h
- pkg.h, pkg.c (new_pkg, free_pkg): provide package structure definition,
  allocation, and deallocation
- fixup.c, gobble.c, prereq.c, qpkg.c: include "pkg.h"
- gobble.c (finish_pkg): use free_pkg instead of just "free" to avoid
  leaking memory
2010-11-22 16:19:32 -03:00
Description
Werner's Miscellanea, Assorted small items that don't fit anywhere else
http://projects.qi-hardware.com/index.php/p/wernermisc/
2.3 MiB
Languages
C 44.8%
TeX 17.3%
Shell 13.4%
Perl 7.8%
Makefile 7.6%
Other 9.1%