X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Fuse_screen.c;h=00d7147e17264a503ec90c5c599b059dbdd28e48;hp=42e14eecd1523e37644de0ad1f4be79b531d4b00;hb=119b5a6788c26bf7dcc99fcfd54e072946352a93;hpb=e3d8d5a5a9425b40e09df86a597c3e971dced9d1 diff --git a/ncurses/tinfo/use_screen.c b/ncurses/tinfo/use_screen.c index 42e14eec..00d7147e 100644 --- a/ncurses/tinfo/use_screen.c +++ b/ncurses/tinfo/use_screen.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2007-2009,2016 Free Software Foundation, Inc. * + * Copyright (c) 2007-2016,2018 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 * @@ -32,15 +32,19 @@ #include -MODULE_ID("$Id: use_screen.c,v 1.9 2016/01/23 21:32:00 tom Exp $") +MODULE_ID("$Id: use_screen.c,v 1.11 2018/12/15 23:53:26 tom Exp $") NCURSES_EXPORT(int) use_screen(SCREEN *screen, NCURSES_SCREEN_CB func, void *data) { SCREEN *save_SP; int code = OK; + TR_FUNC_BFR(1); - T((T_CALLED("use_screen(%p,%p,%p)"), (void *) screen, TR_FUNC(func), (void *) data)); + T((T_CALLED("use_screen(%p,%s,%p)"), + (void *) screen, + TR_FUNC_ARG(0, func), + (void *) data)); /* * FIXME - add a flag so a given thread can check if _it_ has already