Browse code

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

Jim Klimov authored on 2020/08/21 11:56:33
Showing 13 changed files
... ...
@@ -32,4 +32,4 @@ int main(int argc, char **argv) {
32 32
                            bytes.size());
33 33
     std::cout << "Execution successful" << std::endl;
34 34
   }
35
-}
36 35
\ No newline at end of file
36
+}
... ...
@@ -78,4 +78,4 @@ void cli_exe_info_destroy(struct cli_exe_info *exeinfo)
78 78
     }
79 79
 
80 80
     cli_hashset_destroy(&(exeinfo->vinfo));
81
-}
82 81
\ No newline at end of file
82
+}
... ...
@@ -156,4 +156,4 @@ struct pe_certificate_hdr {
156 156
     uint16_t type;
157 157
 };
158 158
 
159
-#endif
160 159
\ No newline at end of file
160
+#endif
... ...
@@ -127,4 +127,4 @@ void cert_fill_X509_store(X509_STORE *store, X509 **certs, size_t cert_count);
127 127
  */
128 128
 CURLcode sslctx_function(CURL *curl, void *ssl_ctx, void *userptr);
129 129
 
130
-#endif
131 130
\ No newline at end of file
131
+#endif
... ...
@@ -38,4 +38,4 @@ int is_valid_hostid(void);
38 38
  */
39 39
 char *get_hostid(void *cbdata);
40 40
 
41
-#endif //__LIBFRESHCLAM_H
42 41
\ No newline at end of file
42
+#endif //__LIBFRESHCLAM_H
... ...
@@ -64,4 +64,4 @@ struct dirent *readdir(DIR *dirp);
64 64
 void rewinddir(DIR *dirp);
65 65
 int closedir(DIR *dirp);
66 66
 
67
-#endif /* __DIRENT_H */
68 67
\ No newline at end of file
68
+#endif /* __DIRENT_H */
... ...
@@ -38,4 +38,4 @@ int gettimeofday(struct timeval *tv, struct timezone *tz)
38 38
     tv->tv_sec  = t.time;
39 39
     tv->tv_usec = t.millitm * 1000;
40 40
     return 0;
41
-}
42 41
\ No newline at end of file
42
+}
... ...
@@ -24,4 +24,4 @@
24 24
 
25 25
 int gettimeofday(struct timeval *tv, struct timezone *tz);
26 26
 
27
-#endif /* __GETLOCALTIME_H */
28 27
\ No newline at end of file
28
+#endif /* __GETLOCALTIME_H */
... ...
@@ -29,4 +29,4 @@
29 29
 char *dirname(char *path);
30 30
 char *basename(char *path);
31 31
 
32
-#endif /* __LIBGEN_H */
33 32
\ No newline at end of file
33
+#endif /* __LIBGEN_H */
... ...
@@ -44,4 +44,4 @@ int snprintf(char *str, size_t size, const char *format, ...)
44 44
     return len;
45 45
 }
46 46
 
47
-#endif
48 47
\ No newline at end of file
48
+#endif
... ...
@@ -28,4 +28,4 @@ int snprintf(char *str, size_t size, const char *format, ...);
28 28
 
29 29
 #endif
30 30
 
31
-#endif /* __SNPRINTF_H */
32 31
\ No newline at end of file
32
+#endif /* __SNPRINTF_H */
... ...
@@ -29,4 +29,4 @@
29 29
 char *cli_to_utf8_maybe_alloc(const char *s);
30 30
 char *cli_strdup_to_utf8(const char *s);
31 31
 
32
-#endif
33 32
\ No newline at end of file
33
+#endif
... ...
@@ -31,4 +31,4 @@
31 31
 char *w32_strerror(int errnum);
32 32
 int w32_strerror_r(int errnum, char *buf, size_t buflen);
33 33
 
34
-#endif
35 34
\ No newline at end of file
35
+#endif