Skip Menu |
 

From: raeburn@mit.edu
Subject: SVN Commit

If HAVE_VASPRINTF is not defined, make sure krb5int_{,v}asprintf
functions always get declared, applying the preprocessor conditional
test only to the GCC format attribute. If HAVE_VASPRINTF is defined,
don't declare them at all.

This fixes a bunch of function-not-declared warnings under Sun cc.

https://github.com/krb5/krb5/commit/1f423bd14f7bb42d1e594818598767810fe7f704
Commit By: raeburn
Revision: 21888
Changed Files:
U trunk/src/include/k5-platform.h
From: tlyu@mit.edu
Subject: SVN Commit

pull up r21888 from trunk

------------------------------------------------------------------------
r21888 | raeburn | 2009-02-04 21:16:22 -0500 (Wed, 04 Feb 2009) | 11 lines
Changed paths:
M /trunk/src/include/k5-platform.h

ticket: 6364
subject: declare replacement [v]asprintf functions
target_version: 1.7
tags: pullup

If HAVE_VASPRINTF is not defined, make sure krb5int_{,v}asprintf
functions always get declared, applying the preprocessor conditional
test only to the GCC format attribute. If HAVE_VASPRINTF is defined,
don't declare them at all.

This fixes a bunch of function-not-declared warnings under Sun cc.
------------------------------------------------------------------------

https://github.com/krb5/krb5/commit/5d8aea77b6e5d4dba66d65199bc4cf75c4d4db93
Commit By: tlyu
Revision: 22018
Changed Files:
U branches/krb5-1-7/src/include/k5-platform.h