summaryrefslogtreecommitdiffstats
path: root/contrib/ncurses/include/nc_tparm.h
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-02-28 23:48:13 +0000
committerdelphij <delphij@FreeBSD.org>2014-02-28 23:48:13 +0000
commit27526f9f8fb6184889d3cf86958ba2c9a17857ef (patch)
treeea0afb272a63d2a9f612979fa0b8095f0db61ec4 /contrib/ncurses/include/nc_tparm.h
parentfff232b9197c57bd48d6cc22415ba15b1fed0b6d (diff)
parent1034bfc077f138b51edf6a5eadcb8ee507386460 (diff)
downloadFreeBSD-src-27526f9f8fb6184889d3cf86958ba2c9a17857ef.zip
FreeBSD-src-27526f9f8fb6184889d3cf86958ba2c9a17857ef.tar.gz
MFV r262617: ncurses 5.9.
Diffstat (limited to 'contrib/ncurses/include/nc_tparm.h')
-rw-r--r--contrib/ncurses/include/nc_tparm.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/contrib/ncurses/include/nc_tparm.h b/contrib/ncurses/include/nc_tparm.h
index d1d769b..a8dbcac 100644
--- a/contrib/ncurses/include/nc_tparm.h
+++ b/contrib/ncurses/include/nc_tparm.h
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 2006 Free Software Foundation, Inc. *
+ * Copyright (c) 2006,2010 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@ -30,13 +30,19 @@
* Author: Thomas E. Dickey 2006 *
****************************************************************************/
-/* $Id: nc_tparm.h,v 1.4 2006/11/26 00:49:25 tom Exp $ */
+/* $Id: nc_tparm.h,v 1.5 2010/12/25 20:27:22 tom Exp $ */
+
+#ifndef NC_TPARM_included
+#define NC_TPARM_included 1
/*
* Cast parameters past the formatting-string for tparm() to match the
* assumption of the varargs code.
*/
+#ifndef TPARM_ARG
#define TPARM_ARG long
+#endif
+
#define TPARM_N(n) (TPARM_ARG)(n)
#define TPARM_9(a,b,c,d,e,f,g,h,i,j) tparm(a,TPARM_N(b),TPARM_N(c),TPARM_N(d),TPARM_N(e),TPARM_N(f),TPARM_N(g),TPARM_N(h),TPARM_N(i),TPARM_N(j))
@@ -63,3 +69,5 @@
#define TPARM_1(a,b) TPARM_2(a,b,0)
#define TPARM_0(a) TPARM_1(a,0)
#endif
+
+#endif /* NC_TPARM_included */
OpenPOWER on IntegriCloud