add __attribute__ for gcc's pleasure
authorAssar Westerlund <assar@sics.se>
Sun, 27 Aug 2000 05:42:46 +0000 (05:42 +0000)
committerAssar Westerlund <assar@sics.se>
Sun, 27 Aug 2000 05:42:46 +0000 (05:42 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9012 ec53bebd-3082-4978-b11e-865c3cabbd6b

include/bits.c

index 2a3ef9a0f3e5526225647a239c09efcd2127af26..eb7b4ba7a056a6c7a8a60a00126d6ed5bdfc4bd8 100644 (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). 
  * 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)
 {