]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/test_termattrs.c
ncurses 6.3 - patch 20220521
[ncurses.git] / test / test_termattrs.c
index 5831f987362e40c3a6eb3918b587f6e178699e46..2464ddea8cd15fc56d112862364bb0b305b4d0f4 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 2017 Free Software Foundation, Inc.                        *
+ * Copyright 2020,2022 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            *
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: test_termattrs.c,v 1.1 2017/06/24 18:26:15 tom Exp $
+ * $Id: test_termattrs.c,v 1.4 2022/05/15 15:55:30 tom Exp $
  *
  * Demonstrate the termattrs and term_attrs functions.
  */
 
+#define USE_CURSES
 #define USE_TINFO
 #include <test.priv.h>
 
 #if HAVE_SETUPTERM
 
-#define valid(s) ((s != 0) && s != (char *)-1)
-
 static FILE *my_fp;
 
 static void