tidy-up: indent, whitespace, comment in sources
Cherry-picked from #14692 Closes #14995
This commit is contained in:
parent
8afdf8dc5a
commit
1064dfa86a
@ -21,7 +21,6 @@
|
|||||||
* SPDX-License-Identifier: curl
|
* SPDX-License-Identifier: curl
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* lib/curl_config.h.in. Generated somehow by cmake. */
|
|
||||||
|
|
||||||
/* Location of default ca bundle */
|
/* Location of default ca bundle */
|
||||||
#cmakedefine CURL_CA_BUNDLE "${CURL_CA_BUNDLE}"
|
#cmakedefine CURL_CA_BUNDLE "${CURL_CA_BUNDLE}"
|
||||||
|
|||||||
@ -66,13 +66,4 @@
|
|||||||
#include "version_win32.h"
|
#include "version_win32.h"
|
||||||
/* "version_win32.h" provides curlx_verify_windows_version() */
|
/* "version_win32.h" provides curlx_verify_windows_version() */
|
||||||
|
|
||||||
/* Now setup curlx_ * names for the functions that are to become curlx_ and
|
|
||||||
be removed from a future libcurl official API:
|
|
||||||
curlx_getenv
|
|
||||||
curlx_mprintf (and its variations)
|
|
||||||
curlx_strcasecompare
|
|
||||||
curlx_strncasecompare
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#endif /* HEADER_CURL_CURLX_H */
|
#endif /* HEADER_CURL_CURLX_H */
|
||||||
|
|||||||
@ -71,7 +71,7 @@
|
|||||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); \
|
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); \
|
||||||
pthread_mutex_init(lock, &attr); \
|
pthread_mutex_init(lock, &attr); \
|
||||||
pthread_mutexattr_destroy(&attr); \
|
pthread_mutexattr_destroy(&attr); \
|
||||||
}while(0)
|
} while(0)
|
||||||
#define msh3_lock_uninitialize(lock) pthread_mutex_destroy(lock)
|
#define msh3_lock_uninitialize(lock) pthread_mutex_destroy(lock)
|
||||||
#define msh3_lock_acquire(lock) pthread_mutex_lock(lock)
|
#define msh3_lock_acquire(lock) pthread_mutex_lock(lock)
|
||||||
#define msh3_lock_release(lock) pthread_mutex_unlock(lock)
|
#define msh3_lock_release(lock) pthread_mutex_unlock(lock)
|
||||||
|
|||||||
@ -48,7 +48,7 @@ dnl a c89 compiler and does not support K&R.
|
|||||||
|
|
||||||
m4_define([AC_LANG_PROGRAM(C)],
|
m4_define([AC_LANG_PROGRAM(C)],
|
||||||
[$1
|
[$1
|
||||||
int main (void)
|
int main(void)
|
||||||
{
|
{
|
||||||
$2
|
$2
|
||||||
;
|
;
|
||||||
|
|||||||
@ -1121,6 +1121,7 @@ if($error) {
|
|||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
# Initialize client sftp config with options actually supported.
|
# Initialize client sftp config with options actually supported.
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user