(file) Return to servermain.c CVS log (file) (dir) Up to [OMI] / omi / server

 1 mike  1.1 /*
 2           **==============================================================================
 3           **
 4           ** Open Management Infrastructure (OMI)
 5           **
 6           ** Copyright (c) Microsoft Corporation
 7           ** 
 8           ** Licensed under the Apache License, Version 2.0 (the "License"); you may not 
 9           ** use this file except in compliance with the License. You may obtain a copy 
10           ** of the License at 
11           **
12           **     http://www.apache.org/licenses/LICENSE-2.0 
13           **
14           ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15           ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 
16           ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 
17           ** MERCHANTABLITY OR NON-INFRINGEMENT. 
18           **
19           ** See the Apache 2 License for the specific language governing permissions 
20           ** and limitations under the License.
21           **
22 mike  1.1 **==============================================================================
23           */
24           
25 krisbash 1.3 #include <common.h>
26              
27              int servermain(int argc, _In_reads_(argc) CharPtr* argv);
28 mike     1.1 
29              #if defined(_MSC_VER)
30              # pragma warning(disable: 4702)
31              #endif
32              
33 krisbash 1.3 #ifdef _MSC_VER
34              int __cdecl main(int argc, _In_reads_(argc) CharPtr* argv)
35              #else
36 mike     1.1 int main(int argc, char** argv)
37 krisbash 1.3 #endif
38 mike     1.1 {
39                  /* believe it or not but optimized MS compiler produces warning 4702 
40                   * (warning C4702: unreachable code) for the next line.
41                   */
42                  return servermain(argc,argv);
43              }

ViewCVS 0.9.2