mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Run "make autostyle"
This commit is contained in:
parent
ac3a9aaf0d
commit
57b6678d52
@ -29,5 +29,5 @@ int
|
||||
handle_control_onion_client_auth_view(control_connection_t *conn,
|
||||
const control_cmd_args_t *args);
|
||||
|
||||
#endif
|
||||
#endif /* !defined(TOR_CONTROL_HS_H) */
|
||||
|
||||
|
@ -68,7 +68,7 @@ DECLARE_PROB_DISTR_DOWNCAST_FN(logistic)
|
||||
DECLARE_PROB_DISTR_DOWNCAST_FN(log_logistic)
|
||||
DECLARE_PROB_DISTR_DOWNCAST_FN(genpareto)
|
||||
DECLARE_PROB_DISTR_DOWNCAST_FN(weibull)
|
||||
#endif
|
||||
#endif /* !defined(COCCI) */
|
||||
|
||||
/**
|
||||
* Count number of one bits in 32-bit word.
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "core/or/relay.h"
|
||||
#include "core/or/relay_crypto_st.h"
|
||||
|
||||
#include "fakecircs.h"
|
||||
#include "test/fakecircs.h"
|
||||
|
||||
/** Return newly allocated OR circuit using the given nchan and pchan. It must
|
||||
* be freed with the free_fake_orcirc(). */
|
||||
|
@ -40,10 +40,10 @@ get_file_mode(const char *fname, unsigned *permissions_out)
|
||||
TT_DIE(("Bad mode %o on %s", mode_, (fn))); \
|
||||
} \
|
||||
STMT_END
|
||||
#else
|
||||
#else /* defined(_WIN32) */
|
||||
/* "group-readable" isn't meaningful on windows */
|
||||
#define assert_mode(fn,mask,expected) STMT_NIL
|
||||
#endif
|
||||
#endif /* !defined(_WIN32) */
|
||||
|
||||
static or_options_t *mock_opts;
|
||||
static const or_options_t *
|
||||
|
@ -108,7 +108,7 @@ setup_directory(void)
|
||||
/* undo sticky bit so tests don't get confused. */
|
||||
r = chown(temp_dir, getuid(), getgid());
|
||||
}
|
||||
#endif /* defined(_WIN32) */
|
||||
#endif /* defined(_WIN32) || ... */
|
||||
if (r) {
|
||||
fprintf(stderr, "Can't create directory %s:", temp_dir);
|
||||
perror("");
|
||||
|
Loading…
Reference in New Issue
Block a user