Commit ce0ef87db01b1e082aef0d615d4c92ad2b187cf1

Authored by perry.werneck@gmail.com
1 parent a1a115bf

Ocultando mensagems de deprecated do gtk

Showing 2 changed files with 9 additions and 18 deletions   Show diff stats
@@ -349,9 +349,9 @@ static void set_ft_state(H3270FT *session, LIB3270_FT_STATE state); @@ -349,9 +349,9 @@ static void set_ft_state(H3270FT *session, LIB3270_FT_STATE state);
349 349
350 /* Build the ind$file command */ 350 /* Build the ind$file command */
351 snprintf(op,4095,"%s%s%s", 351 snprintf(op,4095,"%s%s%s",
352 - (ft->flags & LIB3270_FT_OPTION_ASCII) ? " ascii" : "",  
353 - (ft->flags & LIB3270_FT_OPTION_CRLF) ? " crlf" : "",  
354 - (ft->flags & LIB3270_FT_OPTION_APPEND) ? " append" : "" 352 + (ft->flags & LIB3270_FT_OPTION_ASCII) ? " ASCII" : "",
  353 + (ft->flags & LIB3270_FT_OPTION_CRLF) ? " CRLF" : "",
  354 + (ft->flags & LIB3270_FT_OPTION_APPEND) ? " APPEND" : ""
355 ); 355 );
356 356
357 trace("tso=%s",hSession->options & LIB3270_OPTION_TSO ? "yes" : "No"); 357 trace("tso=%s",hSession->options & LIB3270_OPTION_TSO ? "yes" : "No");
@@ -365,13 +365,13 @@ static void set_ft_state(H3270FT *session, LIB3270_FT_STATE state); @@ -365,13 +365,13 @@ static void set_ft_state(H3270FT *session, LIB3270_FT_STATE state);
365 // TSO Host 365 // TSO Host
366 if(recfm > 0) 366 if(recfm > 0)
367 { 367 {
368 - snconcat(op,4096," recfm(%c)",rec[recfm-1]); 368 + snconcat(op,4096," RECFM(%c)",rec[recfm-1]);
369 369
370 if(ft->lrecl > 0) 370 if(ft->lrecl > 0)
371 - snconcat(op,4096," lrecl(%d)",ft->lrecl); 371 + snconcat(op,4096," LRECL(%d)",ft->lrecl);
372 372
373 if(ft->blksize > 0) 373 if(ft->blksize > 0)
374 - snconcat(op,4096," blksize(%d)", ft->blksize); 374 + snconcat(op,4096," BLKSIZE(%d)", ft->blksize);
375 } 375 }
376 376
377 if(units > 0) 377 if(units > 0)
@@ -380,7 +380,7 @@ static void set_ft_state(H3270FT *session, LIB3270_FT_STATE state); @@ -380,7 +380,7 @@ static void set_ft_state(H3270FT *session, LIB3270_FT_STATE state);
380 380
381 if(ft->primspace > 0) 381 if(ft->primspace > 0)
382 { 382 {
383 - snconcat(op,4096," space(%d",ft->primspace); 383 + snconcat(op,4096," SPACE(%d",ft->primspace);
384 if(ft->secspace) 384 if(ft->secspace)
385 snconcat(op,4096,",%d",ft->secspace); 385 snconcat(op,4096,",%d",ft->secspace);
386 snconcat(op,4096,"%s",")"); 386 snconcat(op,4096,"%s",")");
@@ -392,10 +392,10 @@ static void set_ft_state(H3270FT *session, LIB3270_FT_STATE state); @@ -392,10 +392,10 @@ static void set_ft_state(H3270FT *session, LIB3270_FT_STATE state);
392 // VM Host 392 // VM Host
393 if(recfm > 0) 393 if(recfm > 0)
394 { 394 {
395 - snconcat(op,4096," recfm %c",rec[recfm-1]); 395 + snconcat(op,4096," RECFM %c",rec[recfm-1]);
396 396
397 if(ft->lrecl > 0) 397 if(ft->lrecl > 0)
398 - snconcat(op,4096," lrecl %d",ft->lrecl); 398 + snconcat(op,4096," LRECL %d",ft->lrecl);
399 399
400 } 400 }
401 } 401 }
@@ -35,15 +35,6 @@ @@ -35,15 +35,6 @@
35 #include <lib3270.h> /* lib3270 API calls and defs */ 35 #include <lib3270.h> /* lib3270 API calls and defs */
36 #include "api.h" 36 #include "api.h"
37 37
38 -/* From glibconfig.h */  
39 -#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)  
40 - #define LIB3270_INTERNAL __hidden extern  
41 -#elif defined (__GNUC__) && defined (HAVE_GNUC_VISIBILITY)  
42 - #define LIB3270_INTERNAL __attribute__((visibility("hidden"))) extern  
43 -#else  
44 - #define LIB3270_INTERNAL  
45 -#endif  
46 -  
47 #if defined(X3270_TN3270E) && !defined(X3270_ANSI) /*[*/ 38 #if defined(X3270_TN3270E) && !defined(X3270_ANSI) /*[*/
48 #define X3270_ANSI 1 /* RFC2355 requires NVT mode */ 39 #define X3270_ANSI 1 /* RFC2355 requires NVT mode */
49 #endif /*]*/ 40 #endif /*]*/