summaryrefslogtreecommitdiff
path: root/devel/cmdline/patches/patch-bf
blob: 98a9435ebbc1c55c3b933a02c6faff1c32e7c567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
$NetBSD: patch-bf,v 1.1.1.1 2000/08/25 16:15:54 jlam Exp $

--- src/lib/patchlevel.c.orig	Thu Jan  2 13:33:35 1997
+++ src/lib/patchlevel.c
@@ -21,10 +21,17 @@
 //
 //    01/11/94	Brad Appleton	<bradapp@enteract.com>
 //    - Modified for patch 4
+//
+//    08/16/00	Johnny Lam	<lamj@stat.cmu.edu>
+//    - Wrapped in namespace cmdline
+//    - Updated to follow ISO C++ standard
+//    - Modified for patch 5
 //-^^---------------------------------------------------------------------
 
 #include "cmdline.h"
 
+namespace cmdline {
+
    // Record the version-identifier for this configuration of the project.
    //
    // My source-code management system lets me use a symbolic-name
@@ -33,24 +40,25 @@
    // file that makes up this version of the project.
    //
 static const char ident[] =
-   "@(#)SMS  task: cmdline-1.04" ;
+   "@(#)SMS  task: cmdline-1.05" ;
 
 
    // Release and patchlevel information
 #define  CMDLINE_RELEASE     1
-#define  CMDLINE_PATCHLEVEL  4
-#define  CMDLINE_IDENT       "@(#)CmdLine	1.04"
+#define  CMDLINE_PATCHLEVEL  5
+#define  CMDLINE_IDENT       "@(#)CmdLine	1.05"
 
 unsigned
-CmdLine::release(void)  { return  CMDLINE_RELEASE; }
+CmdLine::release()  { return  CMDLINE_RELEASE; }
 
 unsigned
-CmdLine::patchlevel(void)  { return  CMDLINE_PATCHLEVEL; }
+CmdLine::patchlevel()  { return  CMDLINE_PATCHLEVEL; }
 
 const char *
-CmdLine::ident(void) {
+CmdLine::ident() {
    static const char Ident[] = CMDLINE_IDENT ;
 
    return  Ident;
 }
 
+} // namespace cmdline