summaryrefslogtreecommitdiff
path: root/libkmod/libkmod-array.h
Commit message (Collapse)AuthorAgeFilesLines
* Use #pragma once instead of #ifndefLucas De Marchi2012-07-181-4/+1
| | | | | | | | Only the public header maintains #ifndef in the header, together with pragma. The other ones contain only pragma. As reported by Shawn Landden on systemd mailing list this is compatible with all major compilers and gcc has this since version 3.3.
* utils/array: add array_remove_at()Gustavo Sverzut Barbieri2012-01-031-0/+1
| | | | remove array element at given position, will be used by depmod.
* Move array implementation from depmode to libkmod-utilLucas De Marchi2011-12-281-0/+22