diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-16 13:32:38 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-16 14:10:11 +0100 |
commit | f99e765cb303e37e6b6c983d3ee040fa36c1e52c (patch) | |
tree | af3ade308690cb3c48831d26edff529de35dc10f /external | |
parent | 28b56c52f273a2a3471aa3ab17414648a6eb812d (diff) |
clang-format c*,d*,e* with under 5-percent lines of change
Files which could become clang-format conformant with
under 5-percent lines of change relative to the total
count of lines in the file are found by using bin/find-clang-format.py,
and fixed with /opt/lo/bin/clang-format -i <path-of-the-file>
There will be follow-up patches to fix all 'under-5-percent' files.
Change-Id: I06087a1385ca9da6a28d36ea4c0d2e40bdbf8f03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88774
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/bluez_bluetooth/inc/bluetooth/l2cap.h | 6 | ||||
-rw-r--r-- | external/mariadb-connector-c/configs/mysql_version.h | 1 | ||||
-rw-r--r-- | external/neon/configs/config.h | 26 |
3 files changed, 15 insertions, 18 deletions
diff --git a/external/bluez_bluetooth/inc/bluetooth/l2cap.h b/external/bluez_bluetooth/inc/bluetooth/l2cap.h index d6a0dbbf3506..514c16eb285b 100644 --- a/external/bluez_bluetooth/inc/bluetooth/l2cap.h +++ b/external/bluez_bluetooth/inc/bluetooth/l2cap.h @@ -80,8 +80,8 @@ #endif struct sockaddr_l2 { - sa_family_t l2_family; - unsigned short l2_psm; - bdaddr_t l2_bdaddr; + sa_family_t l2_family; + unsigned short l2_psm; + bdaddr_t l2_bdaddr; }; #endif diff --git a/external/mariadb-connector-c/configs/mysql_version.h b/external/mariadb-connector-c/configs/mysql_version.h index 050e861b7b91..dfa39c7152b0 100644 --- a/external/mariadb-connector-c/configs/mysql_version.h +++ b/external/mariadb-connector-c/configs/mysql_version.h @@ -25,4 +25,3 @@ #define MYSQL_CHARSET "" #endif #endif - diff --git a/external/neon/configs/config.h b/external/neon/configs/config.h index 6f90ac834a17..00252d0abf9e 100644 --- a/external/neon/configs/config.h +++ b/external/neon/configs/config.h @@ -216,7 +216,7 @@ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `setsockopt' function. */ -#if defined (LINUX) || defined (_WIN32) +#if defined(LINUX) || defined(_WIN32) #define HAVE_SETSOCKOPT 1 #endif @@ -235,7 +235,7 @@ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the `snprintf' function. */ -#if defined( UNX ) || defined(_MSC_VER) +#if defined(UNX) || defined(_MSC_VER) #define HAVE_SNPRINTF 1 #endif @@ -500,29 +500,28 @@ /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE -# undef _ALL_SOURCE +#undef _ALL_SOURCE #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE -# undef _GNU_SOURCE +#undef _GNU_SOURCE #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS +#undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE +#undef _TANDEM_SOURCE #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ +#undef __EXTENSIONS__ #endif - /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined (__sun) && defined (SPARC) +#if defined(__sun) && defined(SPARC) #define WORDS_BIGENDIAN 1 #endif @@ -548,7 +547,7 @@ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus -#if defined (__sun) && defined (__SUNPRO_C) +#if defined(__sun) && defined(__SUNPRO_C) #define inline #endif #endif @@ -570,14 +569,13 @@ /* beast we need a workaround */ #define IIS_LOCK_BUG_WORKAROUND 1 - /* Enable leak-tracking versions of ne_*alloc when NEON_MEMLEAK is enabled */ #ifdef NEON_MEMLEAK -# include "memleak.h" +#include "memleak.h" #endif #if defined(HAVE_STPCPY) && defined(HAVE_DECL_STPCPY) && !HAVE_DECL_STPCPY && !defined(stpcpy) -char *stpcpy(char *, const char *); +char* stpcpy(char*, const char*); #endif #ifdef _WIN32 @@ -587,7 +585,7 @@ char *stpcpy(char *, const char *); #define HAVE_MEMCPY 1 #define strncasecmp strnicmp -#define inline __inline +#define inline __inline #define WIN32_LEAN_AND_MEAN #define NOUSER #define NOGDI |