Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/smbfs/dist/mount_smbfs mark usage __noreturn
details: https://anonhg.NetBSD.org/src/rev/9c276098f833
branches: trunk
changeset: 325481:9c276098f833
user: christos <christos%NetBSD.org@localhost>
date: Thu Dec 26 16:42:28 2013 +0000
description:
mark usage __noreturn
diffstat:
external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r f1672e17f138 -r 9c276098f833 external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c
--- a/external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c Thu Dec 26 16:40:53 2013 +0000
+++ b/external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c Thu Dec 26 16:42:28 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_smbfs.c,v 1.2 2013/12/25 22:03:15 christos Exp $ */
+/* $NetBSD: mount_smbfs.c,v 1.3 2013/12/26 16:42:28 christos Exp $ */
/*
* Copyright (c) 2000-2002, Boris Popov
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: mount_smbfs.c,v 1.2 2013/12/25 22:03:15 christos Exp $");
+__RCSID("$NetBSD: mount_smbfs.c,v 1.3 2013/12/26 16:42:28 christos Exp $");
#include <sys/param.h>
#include <sys/stat.h>
@@ -65,7 +65,7 @@
#include "mntopts.h"
-static void usage(void);
+static void usage(void) __noreturn;
static const struct mntopt mopts[] = {
MOPT_STDOPTS,
@@ -290,5 +290,5 @@
"\t[-g gid] [-n opt] [-u uid] //user@server/share node",
getprogname());
- exit (1);
+ exit(1);
}
Home |
Main Index |
Thread Index |
Old Index