From 818c8b696baa1adb5a3142ff2193217897558855 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Sun, 26 Jan 2003 23:14:47 +0000 Subject: [PATCH] make these more useful for lint(1). Minor diff-reductions while I'm about it. --- lib/csu/alpha/crt1.c | 1 + lib/csu/amd64/crt1.c | 1 + lib/csu/i386-elf/crt1.c | 1 + lib/csu/ia64/crt1.c | 3 ++- lib/csu/powerpc/crt1.c | 1 + lib/csu/sparc64/crt1.c | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/csu/alpha/crt1.c b/lib/csu/alpha/crt1.c index e871ab60e72c..b8ad3ea10063 100644 --- a/lib/csu/alpha/crt1.c +++ b/lib/csu/alpha/crt1.c @@ -1,3 +1,4 @@ +/* LINTLIBRARY */ /*- * Copyright 2001 David E. O'Brien. * All rights reserved. diff --git a/lib/csu/amd64/crt1.c b/lib/csu/amd64/crt1.c index a9caf9e40dab..15a544c68176 100644 --- a/lib/csu/amd64/crt1.c +++ b/lib/csu/amd64/crt1.c @@ -1,3 +1,4 @@ +/* LINTLIBRARY */ /*- * Copyright 1996-1998 John D. Polstra. * All rights reserved. diff --git a/lib/csu/i386-elf/crt1.c b/lib/csu/i386-elf/crt1.c index a9caf9e40dab..15a544c68176 100644 --- a/lib/csu/i386-elf/crt1.c +++ b/lib/csu/i386-elf/crt1.c @@ -1,3 +1,4 @@ +/* LINTLIBRARY */ /*- * Copyright 1996-1998 John D. Polstra. * All rights reserved. diff --git a/lib/csu/ia64/crt1.c b/lib/csu/ia64/crt1.c index 392fd5569b57..714702d52fd7 100644 --- a/lib/csu/ia64/crt1.c +++ b/lib/csu/ia64/crt1.c @@ -1,3 +1,4 @@ +/* LINTLIBRARY */ /*- * Copyright 1996-1998 John D. Polstra. * All rights reserved. @@ -45,8 +46,8 @@ struct Struct_Obj_Entry; struct ps_strings; -#pragma weak _DYNAMIC extern int _DYNAMIC; +#pragma weak _DYNAMIC extern void _fini(void); extern void _init(void); diff --git a/lib/csu/powerpc/crt1.c b/lib/csu/powerpc/crt1.c index 420675450580..4c98271d81b1 100644 --- a/lib/csu/powerpc/crt1.c +++ b/lib/csu/powerpc/crt1.c @@ -1,3 +1,4 @@ +/* LINTLIBRARY */ /*- * Copyright 2001 David E. O'Brien. * All rights reserved. diff --git a/lib/csu/sparc64/crt1.c b/lib/csu/sparc64/crt1.c index bdafbe555e52..84f17f4b6df3 100644 --- a/lib/csu/sparc64/crt1.c +++ b/lib/csu/sparc64/crt1.c @@ -1,3 +1,4 @@ +/* LINTLIBRARY */ /*- * Copyright 2001 David E. O'Brien. * All rights reserved.