]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/test_termattrs.c
ncurses 6.2 - patch 20200301
[ncurses.git] / test / test_termattrs.c
index 5831f987362e40c3a6eb3918b587f6e178699e46..fc22216a675a38212a1a273348c04ea88114fe4d 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 2017 Free Software Foundation, Inc.                        *
+ * Copyright 2020 Thomas E. Dickey                                          *
+ * Copyright 2017 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            *
@@ -26,7 +27,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: test_termattrs.c,v 1.1 2017/06/24 18:26:15 tom Exp $
+ * $Id: test_termattrs.c,v 1.3 2020/02/02 23:34:34 tom Exp $
  *
  * Demonstrate the termattrs and term_attrs functions.
  */
@@ -36,8 +37,6 @@
 
 #if HAVE_SETUPTERM
 
-#define valid(s) ((s != 0) && s != (char *)-1)
-
 static FILE *my_fp;
 
 static void