simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Wed Apr 6 10:10:11 BST 2016


TL;DR:
  0ac3526 Fix duplicate definition of typedef 'bufchain'.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2016-04-06 10:10:11

commit 0ac3526b3e97ec71e7ed9bd89d42b688646a0220
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=0ac3526b3e97ec71e7ed9bd89d42b688646a0220;hp=2c37bfca42ec6da329df952dd365d99ca004bcab
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Apr 6 09:06:19 2016 +0100

    Fix duplicate definition of typedef 'bufchain'.
    
    This was defined in misc.h, and also in network.h (because one
    function prototype needed to refer to it in the latter), leading to a
    build failure if any source file inconveniently included both those
    headers.
    
    Fixed by guarding each copy of the typedef with a #ifdef.

 misc.h    |    8 ++++++--
 network.h |    3 +++
 2 files changed, 9 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list