Google
  Web www.spinics.net

Re: [PATCH 1/2] lib/tt: make get_terminal_width available externally

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Mon, May 14, 2012 at 11:42:08AM +0200, Karel Zak wrote:
> On Mon, May 14, 2012 at 09:51:57AM +0200, Petr Uzel wrote:
> > Also, rename get_terminal_width() to tt_get_terminal_width()
> > to match naming convention of other exported functions.
> 
>  That's overkill to compile whole tt.c (for example for blkid) for
>  this one simple function.  What about to add get_terminal_width() to
>  include/ttyutils.h as a static function?

Hm, right, that would be much better. I'll send a new patch.

Thanks,

Petr

-- 
Petr Uzel
IRC: ptr_uzl @ freenode

Attachment: pgp3FVwI6iBIV.pgp
Description: PGP signature


[Site Home]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Powered by Linux