projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git]
/
src
/
shared
/
tests
/
prime_test.c
diff --git
a/src/shared/tests/prime_test.c
b/src/shared/tests/prime_test.c
old mode 100755
(executable)
new mode 100644
(file)
index
8ee3757
..
334a7ed
--- a/
src/shared/tests/prime_test.c
+++ b/
src/shared/tests/prime_test.c
@@
-1,21
+1,19
@@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+
#include "math_op.h"
int main(int argc, char **argv)
{
#include "math_op.h"
int main(int argc, char **argv)
{
- if(!argv[1])
- {
+ if (!argv[1]) {
printf("%s <int>\n", argv[0]);
exit(1);
}
printf("Value: %d\n", os_getprime(atoi(argv[1])));
printf("%s <int>\n", argv[0]);
exit(1);
}
printf("Value: %d\n", os_getprime(atoi(argv[1])));
- return(0);
+ return (0);
}
}
-
-/* EOF */