[lxc-devel] [lxc/lxc] 8c2e2e: bdev: include own getline function in bdev.h

GitHub noreply at github.com
Wed Jul 27 16:28:54 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 8c2e2e8f5319f5e66ca5920f50e835f3f31a908f
      https://github.com/lxc/lxc/commit/8c2e2e8f5319f5e66ca5920f50e835f3f31a908f
  Author: Christian Brauner <cbrauner at suse.de>
  Date:   2016-07-27 (Wed, 27 Jul 2016)

  Changed paths:
    M src/lxc/bdev/bdev.h

  Log Message:
  -----------
  bdev: include own getline function in bdev.h

Fixes android build error:

bdev/bdev.c: In function 'detect_fs':
bdev/bdev.c:686:2: error: implicit declaration of function 'getline' [-Werror=implicit-function-declaration]
  while (getline(&line, &linelen, f) != -1) {
  ^

Signed-off-by: Christian Brauner <cbrauner at suse.de>


  Commit: 25796416084f3cecf036bd922d6ead094500191e
      https://github.com/lxc/lxc/commit/25796416084f3cecf036bd922d6ead094500191e
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-07-27 (Wed, 27 Jul 2016)

  Changed paths:
    M src/lxc/bdev/bdev.h

  Log Message:
  -----------
  Merge pull request #1103 from brauner/2016-07-27/fix_android_getline

bdev: include own getline function in bdev.h


Compare: https://github.com/lxc/lxc/compare/813d7f1453e6...25796416084f


More information about the lxc-devel mailing list