Remove duplicate declarations in hostinfo.h
Re-indent some lines in hostinfoPosix.c
int Hostinfo_GetSystemBitness(void);
const char *Hostinfo_OSVersionString(void);
-char *Hostinfo_GetOSName(void);
-char *Hostinfo_GetOSGuestString(void);
-
#if defined(_WIN32)
Bool Hostinfo_OSIsWinNT(void);
Bool Hostinfo_OSIsWow64(void);
if (wait) {
for (;;) {
- if (waitpid(pid, &status, 0) == -1) {
- if (errno == ECHILD) {
- return 0; // This sucks. We really don't know.
- }
- if (errno != EINTR) {
- return -1;
- }
- } else {
- return status;
- }
+ if (waitpid(pid, &status, 0) == -1) {
+ if (errno == ECHILD) {
+ return 0; // This sucks. We really don't know.
+ }
+ if (errno != EINTR) {
+ return -1;
+ }
+ } else {
+ return status;
+ }
}
} else {
return 0;