summaryrefslogtreecommitdiff
path: root/src/VBox/Additions/common/VBoxControl/VBoxControlSVN.cpp
blob: babb7e83975eaed9183c2a96ffbf1b89c6c82782 (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
/* $Id: VBoxControlSVN.cpp $ */
/** @file
 * VBoxControl - Guest Additions Command Line Management Interface
 * SVN revision.
 */

/*
 * Copyright (C) 2006-2007 Sun Microsystems, Inc.
 *
 * This file is part of VirtualBox Open Source Edition (OSE), as
 * available from http://www.virtualbox.org. This file is free software;
 * you can redistribute it and/or modify it under the terms of the GNU
 * General Public License (GPL) as published by the Free Software
 * Foundation, in version 2 as it comes in the "COPYING" file of the
 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
 *
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
 * Clara, CA 95054 USA or visit http://www.sun.com if you need
 * additional information or have any questions.
 */

#include <VBox/version.h>
#include "VBoxControl.h"

/**
 * Return the SVN revision number. We put this function into a separate file
 * to speed up compilation if the revision number changes. We don't put this
 * function into VBoxSVC to save the overhead of starting the server if only
 * the version number is requested.
 */
unsigned long VBoxSVNRev()
{
    return VBOX_SVN_REV;
}