use ansi c prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15456 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
2
cf/db.m4
2
cf/db.m4
@@ -175,7 +175,7 @@ if test "$have_ndbm" = "yes"; then
|
|||||||
#elif defined(HAVE_DBM_H)
|
#elif defined(HAVE_DBM_H)
|
||||||
#include <dbm.h>
|
#include <dbm.h>
|
||||||
#endif
|
#endif
|
||||||
int main()
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
DBM *d;
|
DBM *d;
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@ AC_CACHE_CHECK(whether byte ordering is bigendian, krb_cv_c_bigendian,[
|
|||||||
not big endian
|
not big endian
|
||||||
#endif]])],[krb_cv_c_bigendian=yes],[krb_cv_c_bigendian=no])
|
#endif]])],[krb_cv_c_bigendian=yes],[krb_cv_c_bigendian=no])
|
||||||
else
|
else
|
||||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[main () {
|
AC_RUN_IFELSE([AC_LANG_SOURCE([[main (int argc, char **argv) {
|
||||||
/* Are we little or big endian? From Harbison&Steele. */
|
/* Are we little or big endian? From Harbison&Steele. */
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user