progs.priv.h (166124) | progs.priv.h (174993) |
---|---|
1/**************************************************************************** | 1/**************************************************************************** |
2 * Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. * | 2 * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. * |
3 * * 4 * Permission is hereby granted, free of charge, to any person obtaining a * 5 * copy of this software and associated documentation files (the * 6 * "Software"), to deal in the Software without restriction, including * 7 * without limitation the rights to use, copy, modify, merge, publish, * 8 * distribute, distribute with modifications, sublicense, and/or sell * 9 * copies of the Software, and to permit persons to whom the Software is * 10 * furnished to do so, subject to the following conditions: * --- 14 unchanged lines hidden (view full) --- 25 * sale, use or other dealings in this Software without prior written * 26 * authorization. * 27 ****************************************************************************/ 28 29/**************************************************************************** 30 * Author: Thomas E. Dickey 1997-on * 31 ****************************************************************************/ 32/* | 3 * * 4 * Permission is hereby granted, free of charge, to any person obtaining a * 5 * copy of this software and associated documentation files (the * 6 * "Software"), to deal in the Software without restriction, including * 7 * without limitation the rights to use, copy, modify, merge, publish, * 8 * distribute, distribute with modifications, sublicense, and/or sell * 9 * copies of the Software, and to permit persons to whom the Software is * 10 * furnished to do so, subject to the following conditions: * --- 14 unchanged lines hidden (view full) --- 25 * sale, use or other dealings in this Software without prior written * 26 * authorization. * 27 ****************************************************************************/ 28 29/**************************************************************************** 30 * Author: Thomas E. Dickey 1997-on * 31 ****************************************************************************/ 32/* |
33 * $Id: progs.priv.h,v 1.30 2006/11/26 00:28:01 tom Exp $ | 33 * $Id: progs.priv.h,v 1.33 2007/10/13 20:33:53 tom Exp $ |
34 * 35 * progs.priv.h 36 * 37 * Header file for curses utility programs 38 */ 39 40#include <ncurses_cfg.h> 41 --- 63 unchanged lines hidden (view full) --- 105extern char *optarg; 106extern int optind; 107#endif /* HAVE_GETOPT_H */ 108 109#include <curses.h> 110#include <term_entry.h> 111#include <tic.h> 112#include <nc_tparm.h> | 34 * 35 * progs.priv.h 36 * 37 * Header file for curses utility programs 38 */ 39 40#include <ncurses_cfg.h> 41 --- 63 unchanged lines hidden (view full) --- 105extern char *optarg; 106extern int optind; 107#endif /* HAVE_GETOPT_H */ 108 109#include <curses.h> 110#include <term_entry.h> 111#include <tic.h> 112#include <nc_tparm.h> |
113 |
|
113#include <nc_alloc.h> | 114#include <nc_alloc.h> |
115#if HAVE_NC_FREEALL 116#undef ExitProgram 117#ifdef USE_LIBTINFO 118#define ExitProgram(code) _nc_free_tinfo(code) 119#else 120#define ExitProgram(code) _nc_free_tic(code) 121#endif 122#endif |
|
114 115/* usually in <unistd.h> */ 116#ifndef STDOUT_FILENO 117#define STDOUT_FILENO 1 118#endif 119 120#ifndef STDERR_FILENO 121#define STDERR_FILENO 2 --- 61 unchanged lines hidden --- | 123 124/* usually in <unistd.h> */ 125#ifndef STDOUT_FILENO 126#define STDOUT_FILENO 1 127#endif 128 129#ifndef STDERR_FILENO 130#define STDERR_FILENO 2 --- 61 unchanged lines hidden --- |