about summary refs log tree commit diff
path: root/src/portab
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-12-12 11:26:08 +0000
committerAlexander Barton <alex@barton.de>2002-12-12 11:26:08 +0000
commit6725d7893ca62007ba828b9d8eb94e81f275a880 (patch)
treec1d7edfa40aa30f0d21a369d8d891582c9fa7409 /src/portab
parent11c4e786fa80ce72ebc1e65511f396a6048a9271 (diff)
downloadngircd-6725d7893ca62007ba828b9d8eb94e81f275a880.tar.gz
ngircd-6725d7893ca62007ba828b9d8eb94e81f275a880.zip
- translated file header and comments to english;
- new file ident semantics.
Diffstat (limited to 'src/portab')
-rw-r--r--src/portab/portab.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/portab/portab.h b/src/portab/portab.h
index 24cefc51..456c2129 100644
--- a/src/portab/portab.h
+++ b/src/portab/portab.h
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: portab.h,v 1.8 2002/10/09 16:53:30 alex Exp $
+ * $Id: portab.h,v 1.9 2002/12/12 11:26:08 alex Exp $
  *
  * portab.h: "Portabilitaets-Definitionen"
  */
@@ -24,6 +24,13 @@
 
 /* Compiler Features */
 
+#ifdef __GNUC__
+# define PUNUSED(x) __attribute__ ((unused)) x
+# define UNUSED     __attribute__ ((unused))
+#else
+# define PUNUSED(x) x
+# define UNUSED
+#endif
 
 #ifndef PARAMS
 # if PROTOTYPES