From 8568267343fe76ab4a360aba5e63498cbe9c2270 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 27 Aug 2000 05:42:46 +0000 Subject: [PATCH] add __attribute__ for gcc's pleasure git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9012 ec53bebd-3082-4978-b11e-865c3cabbd6b --- include/bits.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/include/bits.c b/include/bits.c index 2a3ef9a0f..eb7b4ba7a 100644 --- a/include/bits.c +++ b/include/bits.c @@ -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). * 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 try_signed(FILE *f, int len) {