mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
test: run uncrustify
This is the result of running: $ uncrustify --replace --config ../devel/uncrustify.cfg *.cc *.c *.h in the test directory. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
1959a95d25
commit
bdc87f0d3e
9 changed files with 91 additions and 85 deletions
|
@ -2,7 +2,9 @@
|
||||||
#include "command-line-arguments.h"
|
#include "command-line-arguments.h"
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char **argv){
|
int
|
||||||
|
main (int argc, char **argv)
|
||||||
|
{
|
||||||
|
|
||||||
int opt_index = 1;
|
int opt_index = 1;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <xapian.h>
|
#include <xapian.h>
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int
|
||||||
|
main (int argc, char **argv)
|
||||||
|
{
|
||||||
|
|
||||||
if (argc < 2) {
|
if (argc < 2) {
|
||||||
std::cerr << "usage: ghost-report xapian-dir" << std::endl;
|
std::cerr << "usage: ghost-report xapian-dir" << std::endl;
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
|
|
||||||
#include <xapian.h>
|
#include <xapian.h>
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int
|
||||||
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
if (argc != 4) {
|
if (argc != 4) {
|
||||||
fprintf (stderr, "Usage: %s mailpath version features\n", argv[0]);
|
fprintf (stderr, "Usage: %s mailpath version features\n", argv[0]);
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
#include <xapian.h>
|
#include <xapian.h>
|
||||||
#include <notmuch.h>
|
#include <notmuch.h>
|
||||||
|
|
||||||
int main (int argc, char** argv)
|
int
|
||||||
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
notmuch_database_t *notmuch;
|
notmuch_database_t *notmuch;
|
||||||
char *message = NULL;
|
char *message = NULL;
|
||||||
|
|
Loading…
Reference in a new issue