Skip to content

Commit

Permalink
Fixed ifndef case
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephP91 committed Apr 17, 2023
1 parent 3a1b0eb commit b0303c6
Show file tree
Hide file tree
Showing 18 changed files with 55 additions and 55 deletions.
6 changes: 3 additions & 3 deletions include/curl_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_config__
#define __curlcpp__curl_config__
#ifndef CURLCPP_CURL_CONFIG_H
#define CURLCPP_CURL_CONFIG_H

#if defined(_MSC_VER)
#define NOEXCEPT
Expand All @@ -32,4 +32,4 @@
#define NOEXCEPT noexcept
#endif

#endif /* defined(__curlcpp__curl_config__) */
#endif /* defined(CURLCPP_CURL_CONFIG_H) */
6 changes: 3 additions & 3 deletions include/curl_cookie.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef curl_cookie_h
#define curl_cookie_h
#ifndef CURL_COOKIE_H
#define CURL_COOKIE_H

#include <string>
#include <vector>
Expand Down Expand Up @@ -93,4 +93,4 @@ namespace curl {
};
}

#endif /* curl_cookie_h */
#endif /* CURL_COOKIE_H */
6 changes: 3 additions & 3 deletions include/curl_easy.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_easy__
#define __curlcpp__curl_easy__
#ifndef CURLCPP_CURL_EASY_H
#define CURLCPP_CURL_EASY_H

#include <algorithm>
#include <curl/curl.h>
Expand Down Expand Up @@ -1129,4 +1129,4 @@ namespace curl {
}

#undef CURLCPP_DEFINE_OPTION
#endif /* defined(__curlcpp__curl_easy__) */
#endif /* defined(CURLCPP_CURL_EASY_H) */
6 changes: 3 additions & 3 deletions include/curl_easy_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef curl_easy_info_h
#define curl_easy_info_h
#ifndef CURL_EASY_INFO_H
#define CURL_EASY_INFO_H

#include <vector>
#include <string>
Expand Down Expand Up @@ -91,4 +91,4 @@ namespace curl {
};
}

#endif /* curl_easy_info_h */
#endif /* CURL_EASY_INFO_H */
6 changes: 3 additions & 3 deletions include/curl_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_exception__
#define __curlcpp__curl_exception__
#ifndef CURLCPP_CURL_EXCEPTION_H
#define CURLCPP_CURL_EXCEPTION_H

#include <iostream>
#include <string>
Expand Down Expand Up @@ -220,4 +220,4 @@ namespace curl {
};
}

#endif /* defined(__curlcpp__curl_exception__) */
#endif /* defined(CURLCPP_CURL_EXCEPTION_H) */
6 changes: 3 additions & 3 deletions include/curl_form.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_form__
#define __curlcpp__curl_form__
#ifndef CURLCPP_CURL_FORM_H
#define CURLCPP_CURL_FORM_H

#include <curl/curl.h>
#include <vector>
Expand Down Expand Up @@ -177,4 +177,4 @@ namespace curl {

}

#endif /* defined(__curlcpp__curl_form__) */
#endif /* defined(CURLCPP_CURL_FORM_H) */
6 changes: 3 additions & 3 deletions include/curl_global.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_global__
#define __curlcpp__curl_global__
#ifndef CURLCPP_CURL_GLOBAL_H
#define CURLCPP_CURL_GLOBAL_H

#include <curl/curl.h>
#include "curl_exception.h"
Expand Down Expand Up @@ -62,4 +62,4 @@ namespace curl {
};
}

#endif /* defined(__curlcpp__curl_global__) */
#endif /* defined(CURLCPP_CURL_GLOBAL_H) */
6 changes: 3 additions & 3 deletions include/curl_header.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_header__
#define __curlcpp__curl_header__
#ifndef CURLCPP_CURL_HEADER_H
#define CURLCPP_CURL_HEADER_H

#include <string>
#include <initializer_list>
Expand Down Expand Up @@ -135,4 +135,4 @@ namespace curl {

}

#endif /* defined(__curlcpp__curl_header__) */
#endif /* defined(CURLCPP_CURL_HEADER_H) */
6 changes: 3 additions & 3 deletions include/curl_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_info__
#define __curlcpp__curl_info__
#ifndef CURLCPP_CURL_INFO_H
#define CURLCPP_CURL_INFO_H

#include <curl/curl.h>
#include <string>
Expand Down Expand Up @@ -166,4 +166,4 @@ namespace curl {
}
}

#endif /* defined(__curlcpp__curl_info__) */
#endif /* defined(CURLCPP_CURL_INFO_H) */
6 changes: 3 additions & 3 deletions include/curl_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_interface__
#define __curlcpp__curl_interface__
#ifndef CURLCPP_CURL_INTERFACE_H
#define CURLCPP_CURL_INTERFACE_H

#include <curl/curl.h>
#include "curl_exception.h"
Expand Down Expand Up @@ -102,4 +102,4 @@ namespace curl {
}
}

#endif /* defined(__curlcpp__curl_interface__) */
#endif /* defined(CURLCPP_CURL_INTERFACE_H) */
8 changes: 4 additions & 4 deletions include/curl_ios.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
* SOFTWARE.
*/

#ifndef curl_ios_h
#define curl_ios_h
#ifndef CURLCPP_CURL_IOS_H
#define CURLCPP_CURL_IOS_H

#include <iostream>
#include <string>
Expand Down Expand Up @@ -255,7 +255,7 @@ namespace curl {
// The default constructor will initialize the callback pointer and the stream with default values.
curl_ios() : _callback_ptr(read_memory_callback), _istream(&std::cin) {}

// This constructor allows to specify an input stream while the a default callback pointer will be used.
// This constructor allows to specify an input stream while the default callback pointer will be used.
explicit curl_ios(std::istream &istream) : _callback_ptr(read_memory_callback) {
_istream = &istream;
}
Expand Down Expand Up @@ -293,4 +293,4 @@ namespace curl {
};
}

#endif /* curl_ios_h */
#endif /* CURLCPP_CURL_IOS_H */
6 changes: 3 additions & 3 deletions include/curl_multi.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_multi__
#define __curlcpp__curl_multi__
#ifndef CURLCPP_CURL_MULTI_H
#define CURLCPP_CURL_MULTI_H

#include <memory>
#include <vector>
Expand Down Expand Up @@ -387,4 +387,4 @@ namespace curl {
}

#undef CURLCPP_DEFINE_MOPTION
#endif /* defined(__curlcpp__curl_multi__) */
#endif /* defined(CURLCPP_CURL_MULTI_H) */
6 changes: 3 additions & 3 deletions include/curl_option.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_option__
#define __curlcpp__curl_option__
#ifndef CURLCPP_CURL_OPTION_H
#define CURLCPP_CURL_OPTION_H

#include <string>
#include <curl/curl.h>
Expand All @@ -46,4 +46,4 @@ namespace curl {
}
} // of namespace curl

#endif /* defined(__curlcpp__curl_option__) */
#endif /* defined(CURLCPP_CURL_OPTION_H) */
6 changes: 3 additions & 3 deletions include/curl_pair.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_pair__
#define __curlcpp__curl_pair__
#ifndef CURLCPP_CURL_PAIR_H
#define CURLCPP_CURL_PAIR_H

#include <string>
#include "curl_config.h"
Expand Down Expand Up @@ -149,4 +149,4 @@ namespace curl {
template<class T> class curl_pair<T,curl_header>;
}

#endif /* defined(__curlcpp__curl_pair__) */
#endif /* defined(CURLCPP_CURL_PAIR_H) */
6 changes: 3 additions & 3 deletions include/curl_receiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_receiver__
#define __curlcpp__curl_receiver__
#ifndef CURLCPP_CURL_RECEIVER_H
#define CURLCPP_CURL_RECEIVER_H

#include <array>
#include "curl_easy.h"
Expand Down Expand Up @@ -97,4 +97,4 @@ namespace curl {
}
}

#endif /* defined(__curlcpp__curl_receiver__) */
#endif /* defined(CURLCPP_CURL_RECEIVER_H) */
6 changes: 3 additions & 3 deletions include/curl_sender.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_sender__
#define __curlcpp__curl_sender__
#ifndef CURLCPP_CURL_SENDER_H
#define CURLCPP_CURL_SENDER_H

#include "curl_easy.h"

Expand Down Expand Up @@ -107,4 +107,4 @@ namespace curl {
};
}

#endif /* defined(__curlcpp__curl_sender__) */
#endif /* defined(CURLCPP_CURL_SENDER_H) */
6 changes: 3 additions & 3 deletions include/curl_share.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_share__
#define __curlcpp__curl_share__
#ifndef CURLCPP_CURL_SHARE_H
#define CURLCPP_CURL_SHARE_H

#include "curl_interface.h"
#include "curl_pair.h"
Expand Down Expand Up @@ -169,4 +169,4 @@ namespace curl {
}
}

#endif /* defined(__curlcpp__curl_share__) */
#endif /* defined(CURLCPP_CURL_SHARE_H) */
6 changes: 3 additions & 3 deletions include/curl_utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* SOFTWARE.
*/

#ifndef __curlcpp__curl_utility__
#define __curlcpp__curl_utility__
#ifndef CURLCPP_CURL_UTILITY_H
#define CURLCPP_CURL_UTILITY_H

#include <string>
#include "curl_exception.h"
Expand Down Expand Up @@ -62,4 +62,4 @@ namespace curl {
}
}

#endif /* defined(__curlcpp__curl_utility__) */
#endif /* defined(CURLCPP_CURL_UTILITY_H) */

0 comments on commit b0303c6

Please sign in to comment.