X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Functrl.h.in;h=e08bc813881d4f2373df1ffc51ac0c5e53b8b678;hp=cc10079f11c7f6e678a1630fe2cd95d04a0d6b1c;hb=7af63696972b12659832a1c3413d9ace9641c8f6;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1 diff --git a/include/unctrl.h.in b/include/unctrl.h.in index cc10079f..e08bc813 100644 --- a/include/unctrl.h.in +++ b/include/unctrl.h.in @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998 Free Software Foundation, Inc. * + * Copyright (c) 1998-2008,2009 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 * @@ -39,10 +39,10 @@ * as ^?. Printable characters are displayed as is. */ -/* $Id: unctrl.h.in,v 1.8 1998/02/11 12:13:45 tom Exp $ */ +/* $Id: unctrl.h.in,v 1.11 2009/04/18 21:00:52 tom Exp $ */ -#ifndef _UNCTRL_H -#define _UNCTRL_H 1 +#ifndef NCURSES_UNCTRL_H_incl +#define NCURSES_UNCTRL_H_incl 1 #undef NCURSES_VERSION #define NCURSES_VERSION "@NCURSES_MAJOR@.@NCURSES_MINOR@" @@ -54,10 +54,14 @@ extern "C" { #include #undef unctrl -extern NCURSES_CONST char *unctrl(chtype); +NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype); + +#if @NCURSES_SP_FUNCS@ +NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype); +#endif #ifdef __cplusplus } #endif -#endif /* _UNCTRL_H */ +#endif /* NCURSES_UNCTRL_H_incl */