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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/include/sys/utsname.h

Issue 303223007: [NaCl SDK] nacl_io: Run clang-format over nacl_io sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ 5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_
6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ 6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_
7 7
8 #define _UTSNAME_LENGTH 65 8 #define _UTSNAME_LENGTH 65
9 9
10 struct utsname { 10 struct utsname {
11 char sysname[_UTSNAME_LENGTH]; 11 char sysname[_UTSNAME_LENGTH];
12 char nodename[_UTSNAME_LENGTH]; 12 char nodename[_UTSNAME_LENGTH];
13 char release[_UTSNAME_LENGTH]; 13 char release[_UTSNAME_LENGTH];
14 char version[_UTSNAME_LENGTH]; 14 char version[_UTSNAME_LENGTH];
15 char machine[_UTSNAME_LENGTH]; 15 char machine[_UTSNAME_LENGTH];
16 }; 16 };
17 17
18 #include <sys/cdefs.h> 18 #include <sys/cdefs.h>
19 19
20 __BEGIN_DECLS 20 __BEGIN_DECLS
21 21
22 int uname(struct utsname *buf); 22 int uname(struct utsname* buf);
23 23
24 __END_DECLS 24 __END_DECLS
25 25
26 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ */ 26 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ */
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/include/sys/termios.h ('k') | native_client_sdk/src/libraries/nacl_io/ioctl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698