Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so Sprinkle some KNF.
details: https://anonhg.NetBSD.org/src/rev/49cbd8809d80
branches: trunk
changeset: 759897:49cbd8809d80
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Dec 19 17:26:51 2010 +0000
description:
Sprinkle some KNF.
diffstat:
libexec/ld.elf_so/load.c | 6 +++---
libexec/ld.elf_so/rtld.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r 69b55e0f64e9 -r 49cbd8809d80 libexec/ld.elf_so/load.c
--- a/libexec/ld.elf_so/load.c Sun Dec 19 17:18:23 2010 +0000
+++ b/libexec/ld.elf_so/load.c Sun Dec 19 17:26:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: load.c,v 1.40 2010/12/16 19:59:39 skrll Exp $ */
+/* $NetBSD: load.c,v 1.41 2010/12/19 17:26:51 skrll Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: load.c,v 1.40 2010/12/16 19:59:39 skrll Exp $");
+__RCSID("$NetBSD: load.c,v 1.41 2010/12/19 17:26:51 skrll Exp $");
#endif /* not lint */
#include <err.h>
@@ -318,6 +318,6 @@
xfree(buf);
}
- return (status);
+ return status;
}
#endif
diff -r 69b55e0f64e9 -r 49cbd8809d80 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c Sun Dec 19 17:18:23 2010 +0000
+++ b/libexec/ld.elf_so/rtld.c Sun Dec 19 17:26:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.135 2010/12/19 17:17:50 skrll Exp $ */
+/* $NetBSD: rtld.c,v 1.136 2010/12/19 17:26:51 skrll Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.135 2010/12/19 17:17:50 skrll Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.136 2010/12/19 17:26:51 skrll Exp $");
#endif /* not lint */
#include <err.h>
@@ -868,7 +868,7 @@
if (def != NULL)
return obj->relocbase + def->st_value;
- return(NULL);
+ return NULL;
}
#ifdef __powerpc__
Home |
Main Index |
Thread Index |
Old Index