From e256eec115a5bf541946f07ef6ceea3815cd7cfd Mon Sep 17 00:00:00 2001 From: Ahmed Yarub Hani Al Nuaimi Date: Tue, 7 Sep 2021 01:05:27 -0300 Subject: [PATCH] Undefine stdin/stderr/stdout only for model files in samples --- samples/client/petstore/c/api/PetAPI.h | 4 ---- samples/client/petstore/c/api/StoreAPI.h | 4 ---- samples/client/petstore/c/api/UserAPI.h | 4 ---- 3 files changed, 12 deletions(-) diff --git a/samples/client/petstore/c/api/PetAPI.h b/samples/client/petstore/c/api/PetAPI.h index c24b44305cf5..f223b60a0b8d 100644 --- a/samples/client/petstore/c/api/PetAPI.h +++ b/samples/client/petstore/c/api/PetAPI.h @@ -8,10 +8,6 @@ #include "../model/api_response.h" #include "../model/pet.h" -#undef stdin -#undef stderr -#undef stdout - // Enum STATUS for PetAPI_findPetsByStatus typedef enum { openapi_petstore_findPetsByStatus_STATUS_NULL = 0, openapi_petstore_findPetsByStatus_STATUS_available, openapi_petstore_findPetsByStatus_STATUS_pending, openapi_petstore_findPetsByStatus_STATUS_sold } openapi_petstore_findPetsByStatus_status_e; diff --git a/samples/client/petstore/c/api/StoreAPI.h b/samples/client/petstore/c/api/StoreAPI.h index 21985044c200..43bdf7583767 100644 --- a/samples/client/petstore/c/api/StoreAPI.h +++ b/samples/client/petstore/c/api/StoreAPI.h @@ -7,10 +7,6 @@ #include "../include/binary.h" #include "../model/order.h" -#undef stdin -#undef stderr -#undef stdout - // Delete purchase order by ID // diff --git a/samples/client/petstore/c/api/UserAPI.h b/samples/client/petstore/c/api/UserAPI.h index d6e43056f13b..b0a60accdab9 100644 --- a/samples/client/petstore/c/api/UserAPI.h +++ b/samples/client/petstore/c/api/UserAPI.h @@ -7,10 +7,6 @@ #include "../include/binary.h" #include "../model/user.h" -#undef stdin -#undef stderr -#undef stdout - // Create user //