mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 18:08:00 +02:00
lint(format): change format rules a bit
This commit is contained in:
@@ -6,10 +6,7 @@
|
||||
#include "config.h"
|
||||
#include "sessions.h"
|
||||
|
||||
bool launch(char* user,
|
||||
char* passwd,
|
||||
struct session session,
|
||||
void (*cb)(void),
|
||||
bool launch(char* user, char* passwd, struct session session, void (*cb)(void),
|
||||
struct behavior* behavior);
|
||||
|
||||
#endif
|
||||
|
@@ -11,7 +11,8 @@ struct status {
|
||||
int ret;
|
||||
};
|
||||
|
||||
int read_desktop(FILE* fd, void* ctx, struct status (*cb)(void* ctx, char* NULLABLE table,
|
||||
char* key, char* value));
|
||||
int read_desktop(FILE* fd, void* ctx,
|
||||
struct status (*cb)(void* ctx, char* NULLABLE table, char* key,
|
||||
char* value));
|
||||
|
||||
#endif
|
||||
|
@@ -1,12 +1,12 @@
|
||||
// Do we just replace the compiler with clang??
|
||||
#if defined(__clang__)
|
||||
#define NULLABLE _Nullable
|
||||
#define NULLABLE _Nullable
|
||||
#else
|
||||
#define NULLABLE
|
||||
#define NULLABLE
|
||||
#endif
|
||||
|
||||
#if defined(__clang__)
|
||||
#define NNULLABLE _Nonnull
|
||||
#define NNULLABLE _Nonnull
|
||||
#else
|
||||
#define NNULLABLE
|
||||
#define NNULLABLE
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user