Mercurial > pidgin
view src/protocols/jabber/win32/utsname.h @ 12323:fc464a0abccc
[gaim-migrate @ 14627]
Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 04 Dec 2005 18:19:56 +0000 |
parents | 9682c0e022c6 |
children |
line wrap: on
line source
#ifndef _SYS_UTSNAME_H #define _SYS_UTSNAME_H #ifdef __cplusplus extern "C" { #endif struct utsname { char sysname[20]; char nodename[20]; char release[20]; char version[20]; char machine[20]; }; int uname (struct utsname *); #ifdef __cplusplus } #endif #endif