Add newlines at end of sources to satisfy strict warnings (C/C++ standard requires them)

pull/133/head
Jim Klimov 5 years ago
parent 854d38de54
commit 3a8537207e
  1. 2
      fuzz/standalone_fuzz_target_runner.cpp
  2. 2
      libclamav/execs.c
  3. 2
      libclamav/pe_structs.h
  4. 2
      shared/cert_util.h
  5. 2
      shared/hostid.h
  6. 2
      win32/compat/dirent.h
  7. 2
      win32/compat/gettimeofday.c
  8. 2
      win32/compat/gettimeofday.h
  9. 2
      win32/compat/libgen.h
  10. 2
      win32/compat/snprintf.c
  11. 2
      win32/compat/snprintf.h
  12. 2
      win32/compat/utf8_util.h
  13. 2
      win32/compat/w32_errno.h

@ -32,4 +32,4 @@ int main(int argc, char **argv) {
bytes.size());
std::cout << "Execution successful" << std::endl;
}
}
}

@ -78,4 +78,4 @@ void cli_exe_info_destroy(struct cli_exe_info *exeinfo)
}
cli_hashset_destroy(&(exeinfo->vinfo));
}
}

@ -156,4 +156,4 @@ struct pe_certificate_hdr {
uint16_t type;
};
#endif
#endif

@ -127,4 +127,4 @@ void cert_fill_X509_store(X509_STORE *store, X509 **certs, size_t cert_count);
*/
CURLcode sslctx_function(CURL *curl, void *ssl_ctx, void *userptr);
#endif
#endif

@ -38,4 +38,4 @@ int is_valid_hostid(void);
*/
char *get_hostid(void *cbdata);
#endif //__LIBFRESHCLAM_H
#endif //__LIBFRESHCLAM_H

@ -64,4 +64,4 @@ struct dirent *readdir(DIR *dirp);
void rewinddir(DIR *dirp);
int closedir(DIR *dirp);
#endif /* __DIRENT_H */
#endif /* __DIRENT_H */

@ -38,4 +38,4 @@ int gettimeofday(struct timeval *tv, struct timezone *tz)
tv->tv_sec = t.time;
tv->tv_usec = t.millitm * 1000;
return 0;
}
}

@ -24,4 +24,4 @@
int gettimeofday(struct timeval *tv, struct timezone *tz);
#endif /* __GETLOCALTIME_H */
#endif /* __GETLOCALTIME_H */

@ -29,4 +29,4 @@
char *dirname(char *path);
char *basename(char *path);
#endif /* __LIBGEN_H */
#endif /* __LIBGEN_H */

@ -44,4 +44,4 @@ int snprintf(char *str, size_t size, const char *format, ...)
return len;
}
#endif
#endif

@ -28,4 +28,4 @@ int snprintf(char *str, size_t size, const char *format, ...);
#endif
#endif /* __SNPRINTF_H */
#endif /* __SNPRINTF_H */

@ -29,4 +29,4 @@
char *cli_to_utf8_maybe_alloc(const char *s);
char *cli_strdup_to_utf8(const char *s);
#endif
#endif

@ -31,4 +31,4 @@
char *w32_strerror(int errnum);
int w32_strerror_r(int errnum, char *buf, size_t buflen);
#endif
#endif

Loading…
Cancel
Save