salinit.cxx (c99cd5fc) | salinit.cxx (2de5e723) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 5 unchanged lines hidden (view full) --- 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 5 unchanged lines hidden (view full) --- 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 |
22#include <stdio.h> | 22#include "precompiled_sal.hxx" 23#include "sal/config.h" |
23 | 24 |
25#include "osl/process.h" 26#include "sal/main.h" |
|
24#include "sal/types.h" 25 26#ifdef __cplusplus 27extern "C" { 28#endif 29 30/*----------------------------------------------------------------------------*/ 31 32// replaced by macros in sal/main.h 33void SAL_CALL sal_detail_initialize(int argc, char ** argv) 34{ | 27#include "sal/types.h" 28 29#ifdef __cplusplus 30extern "C" { 31#endif 32 33/*----------------------------------------------------------------------------*/ 34 35// replaced by macros in sal/main.h 36void SAL_CALL sal_detail_initialize(int argc, char ** argv) 37{ |
35 printf("Dead code\n"); 36 exit(1); | 38 osl_setCommandArgs(argc, argv); |
37} 38 39void SAL_CALL sal_detail_deinitialize() 40{ | 39} 40 41void SAL_CALL sal_detail_deinitialize() 42{ |
41 printf("Dead code\n"); 42 exit(1); | |
43} 44 45#ifdef __cplusplus 46} // extern "C" 47#endif | 43} 44 45#ifdef __cplusplus 46} // extern "C" 47#endif |