summaryrefslogtreecommitdiffstats
path: root/include/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: add path.h to Makefile.amKarel Zak2011-09-271-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'cramfs' of https://github.com/kerolasa/lelux-utiliteetitKarel Zak2011-07-261-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'cramfs' of https://github.com/kerolasa/lelux-utiliteetit: include: move fsck return values to exitcodes.h include: move disk-utils/mkfs.h -> include/exitcodes.h mkfs.cramfs: coding style mkfs.cramfs: include-what-you-use header check mkfs.cramfs: error printing fixes mkfs.cramfs: convert spaces to tabs mkfs.cramfs: validate numeric user inputs mkfs.cramfs: few symbolic exit codes where missing md5: use symbolical digest length mkfs.cramfs: use program_invocation_short_name mkfs.cramfs: use xalloc.h fsck.cramfs: add missed strings to translation fsck.cramfs: coding style fsck.cramfs: use xalloc.h fsck.cramfs: retire die function cramfs.h: coding style cramfs: use stdint.h instead of u{8,16,32} cramfs_common: coding style Conflicts: disk-utils/Makefile.am Signed-off-by: Karel Zak <kzak@redhat.com>
| * include: move disk-utils/mkfs.h -> include/exitcodes.hSami Kerola2011-07-221-0/+1
| | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | include: move minix.h to include directorySami Kerola2011-07-201-0/+1
|/ | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* lib: [loopdev.c] add module for work loop devicesKarel Zak2011-05-301-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add required files to distSami Kerola2011-05-261-0/+2
| | | | | | Files mkfs.h procutils.h sysfs.h where missing from dist file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: add rpmatch.h to Makefile.amKarel Zak2011-01-191-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add wrappers for "at" functionsKarel Zak2011-01-031-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing headerKarel Zak2010-11-301-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: [strutils] general purpose string handling functionsDavidlohr Bueso2010-11-231-3/+2Star
| | | | | | | | | | | | | This patch replaces a few functions used throughout the source: * Renames getnum (from schedutils) to strtol_or_err * Moves strtosize (from lib/strtosize.c) * Moves xstrncpy (from include/xstrncpy.h) * Adds strnlen, strnchr and strndup if not available (remove it from libmount utils) A few Makefile.am files were modified to compile accordingly along with trivial renaming in schedutils source code. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* build-sys: update include/Makefile.amKarel Zak2010-06-071-7/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add tt.c (Tree and Table output)Karel Zak2010-06-031-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include: move shlibs/.../list.h to the include/ directoryKarel Zak2010-06-031-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mkswap: move write_all() to include/writeall.hKarel Zak2010-04-011-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add strtosize() functionKarel Zak2010-03-301-0/+1
| | | | | | | | | | This function int strtosize(const char *str, uintmax_t *res) supports {K,M,G,T,E,P}iB and {K,M,G,T,E,P}B suffixes. Signed-off-by: Karel Zak <kzak@redhat.com>
* cal: factor out and update multibyte alignment codePádraig Brady2010-03-161-0/+1
| | | | | | | | | | | | | * include/mbsalign.h: New module interface * lib/mbsalign.c: Updated implementation synced from coreutils * include/Makefile.am: Add mbsalign.h * misc-utils/Makefile.am: Make cal dependent on mbsalign module * misc-utils/cal.c: Call mbsalign() [kzak@redhat.com: - use min() macro from c.h] Signed-off-by: Pádraig Brady <P@draigBrady.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add mangle.c for mtab (fstab or swaps) encodingKarel Zak2010-03-101-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include: add c.h with fundamental C definitionsKarel Zak2009-10-161-0/+1
| | | | | | | | | Add: * ARRAY_SIZE with array type check * PATH_MAX, TRUE and FALSE macros * dummy __attribute__ for non-gcc compilers Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: remove pttype.cKarel Zak2009-09-291-1/+0Star
| | | | | | The libblkid library supports partition tables detection now. Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add a generic crc32()Karel Zak2009-09-161-0/+1
| | | | | | | | | This is public domain implementation, based on static crc32_table[]. This implementation is used on may places (libparted, FreeBSD kernel, PostgreSQL, ...). The Linux kernel uses on-the-fly generated and allocated tables. That's useless in shared libraries. Signed-off-by: Karel Zak <kzak@redhat.com>
* replace usleep() for systems that don't have themDaniel Mierswa2009-08-211-0/+1
| | | | | | | | | This function is marked obsolete in POSIX.1-2001 and removed in POSIX.1-2008. Conditionally replaced with nanosleep(). Signed-off-by: Daniel Mierswa <impulze@impulze.org>
* include: add missing files to Makefile.amKarel Zak2009-03-121-2/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add pttype.c for PT types detectionKarel Zak2009-03-121-1/+2
| | | | | | | This is a small fragment from libdisk (from xfsprogs). The final solution will be to move the library to util-linux-ng. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing files to include/Makefile.amKarel Zak2009-02-201-3/+17
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include: swapheader.h is missing in Makefile.amKarel Zak2008-12-051-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include: add bitops.h with swab{16,32,64} macrosKarel Zak2007-12-171-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add blkdev.{c,h}Stefan Krah2007-11-071-1/+1
| | | | | | | | | Now we duplicate BLK* ioctls on many places... This patch also fix BLKGETSIZE64 usage in dependence on kernel version. Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Stefan Krah <stefan@bytereef.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add linux_version.{c,h}Stefan Krah2007-11-061-1/+2
| | | | | Signed-off-by: Stefan Krah <stefan@bytereef.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove errs.hKarel Zak2007-10-181-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use dist_noinst_HEADERS in include/Makefile.amStepan Kasal2007-05-161-1/+2
| | | | | | It is slightly more appropriate. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-071-0/+3