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:
Love Hörnquist Åstrand
2005-06-16 21:04:43 +00:00
parent 040e373888
commit c6660ad5a9
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ if test "$have_ndbm" = "yes"; then
#elif defined(HAVE_DBM_H)
#include <dbm.h>
#endif
int main()
int main(int argc, char **argv)
{
DBM *d;

View File

@@ -31,7 +31,7 @@ AC_CACHE_CHECK(whether byte ordering is bigendian, krb_cv_c_bigendian,[
not big endian
#endif]])],[krb_cv_c_bigendian=yes],[krb_cv_c_bigendian=no])
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. */
union
{