add __attribute__ for gcc's pleasure

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9012 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-08-27 05:42:46 +00:00
parent 37aaf16788
commit 8568267343

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997 - 1999 Kungliga Tekniska H<>gskolan * Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden). * (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved. * All rights reserved.
* *
@@ -57,6 +57,19 @@ RCSID("$Id$");
} \ } \
} }
#ifndef HAVE___ATTRIBUTE__
#define __attribute__(x)
#endif
static void
try_signed(FILE *f, int len) __attribute__ ((unused));
static void
try_unsigned(FILE *f, int len) __attribute__ ((unused));
static int
print_bt(FILE *f, int flag) __attribute__ ((unused));
static void static void
try_signed(FILE *f, int len) try_signed(FILE *f, int len)
{ {