Changed main() definition to avoid an extra prototype being put

into the proto.h file.
This commit is contained in:
Wayne Davison committed 2003-09-10 08:27:34 +00:00
1 parent 459a83c9cc
commit f69204adad
4 files changed
+8 -4

No files matched your search

+2 -1
View File
@@ -31,7 +31,8 @@
# define NGROUPS 32
#endif
int main(UNUSED(int argc), UNUSED(char *argv[]))
int
main(UNUSED(int argc), UNUSED(char *argv[]))
{
int n, i;
gid_t list[NGROUPS];
+2 -1
View File
@@ -31,7 +31,8 @@ int dry_run, read_only, list_only, verbose;
int preserve_perms = 0;
int main(int argc, char **argv)
int
main(int argc, char **argv)
{
if (argc != 3) {
fprintf(stderr, "usage: t_unsafe LINKDEST SRCDIR\n");
+2 -1
View File
@@ -124,7 +124,8 @@ static void list_file (const char *fname)
}
int main (int argc, char *argv[])
int
main(int argc, char *argv[])
{
if (argc < 2) {
fprintf (stderr, "usage: " PROGRAM " DIR ...\n"
+2 -1
View File
@@ -29,7 +29,8 @@ int preserve_perms = 0;
*
* Test harness; not linked into release.
**/
int main(int argc, char **argv)
int
main(int argc, char **argv)
{
int i;