summaryrefslogtreecommitdiff
path: root/src/mongo/shell/linenoise.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 00:22:50 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 10:56:02 -0400
commit9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch)
tree3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/shell/linenoise.h
parent01965cf52bce6976637ecb8f4a622aeb05ab256a (diff)
downloadmongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/shell/linenoise.h')
-rw-r--r--src/mongo/shell/linenoise.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mongo/shell/linenoise.h b/src/mongo/shell/linenoise.h
index 06edcbdfb88..1bdc2a76de8 100644
--- a/src/mongo/shell/linenoise.h
+++ b/src/mongo/shell/linenoise.h
@@ -38,17 +38,17 @@
struct linenoiseCompletions;
-typedef void( linenoiseCompletionCallback )( const char *, linenoiseCompletions * );
-void linenoiseSetCompletionCallback( linenoiseCompletionCallback * fn );
-void linenoiseAddCompletion( linenoiseCompletions * lc, const char * str );
+typedef void(linenoiseCompletionCallback)(const char*, linenoiseCompletions*);
+void linenoiseSetCompletionCallback(linenoiseCompletionCallback* fn);
+void linenoiseAddCompletion(linenoiseCompletions* lc, const char* str);
-char *linenoise( const char* prompt );
-void linenoisePreloadBuffer( const char* preloadText );
-int linenoiseHistoryAdd( const char* line );
-int linenoiseHistorySetMaxLen( int len );
-int linenoiseHistorySave( const char* filename );
-int linenoiseHistoryLoad( const char* filename );
-void linenoiseHistoryFree( void );
-void linenoiseClearScreen( void );
+char* linenoise(const char* prompt);
+void linenoisePreloadBuffer(const char* preloadText);
+int linenoiseHistoryAdd(const char* line);
+int linenoiseHistorySetMaxLen(int len);
+int linenoiseHistorySave(const char* filename);
+int linenoiseHistoryLoad(const char* filename);
+void linenoiseHistoryFree(void);
+void linenoiseClearScreen(void);
#endif /* __LINENOISE_H */