Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: fusl/include/err.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef _ERR_H 1 #ifndef _ERR_H
2 #define _ERR_H 2 #define _ERR_H
3 3
4 #include <features.h> 4 #include <features.h>
5 #include <stdarg.h> 5 #include <stdarg.h>
6 6
7 #ifdef __cplusplus 7 #ifdef __cplusplus
8 extern "C" { 8 extern "C" {
9 #endif 9 #endif
10 10
11 void warn(const char *, ...); 11 void warn(const char*, ...);
12 void vwarn(const char *, va_list); 12 void vwarn(const char*, va_list);
13 void warnx(const char *, ...); 13 void warnx(const char*, ...);
14 void vwarnx(const char *, va_list); 14 void vwarnx(const char*, va_list);
15 15
16 _Noreturn void err(int, const char *, ...); 16 _Noreturn void err(int, const char*, ...);
17 _Noreturn void verr(int, const char *, va_list); 17 _Noreturn void verr(int, const char*, va_list);
18 _Noreturn void errx(int, const char *, ...); 18 _Noreturn void errx(int, const char*, ...);
19 _Noreturn void verrx(int, const char *, va_list); 19 _Noreturn void verrx(int, const char*, va_list);
20 20
21 #ifdef __cplusplus 21 #ifdef __cplusplus
22 } 22 }
23 #endif 23 #endif
24 24
25 #endif 25 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698