diff options
| author | Colin Cross <ccross@android.com> | 2010-04-13 19:48:59 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2010-04-13 22:52:10 -0700 |
| commit | 9c5366ba55b1553b2d66f48e3d14fbd274a2944d (patch) | |
| tree | 96a9e0bc8ba44febbf824600b708598340cc1e63 /init/signal_handler.h | |
| parent | 504bc5175a8fe5a2f2552903afee761a86283cf4 (diff) | |
| download | core-9c5366ba55b1553b2d66f48e3d14fbd274a2944d.tar.gz core-9c5366ba55b1553b2d66f48e3d14fbd274a2944d.tar.bz2 core-9c5366ba55b1553b2d66f48e3d14fbd274a2944d.zip | |
init: Move signal handling to signal_handler.c
Change-Id: I3a24afa28a1cd279c749d6f384f687b8de56067e
Diffstat (limited to 'init/signal_handler.h')
| -rw-r--r-- | init/signal_handler.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/init/signal_handler.h b/init/signal_handler.h new file mode 100644 index 000000000..b092ccb6e --- /dev/null +++ b/init/signal_handler.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2010 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef _INIT_SIGNAL_HANDLER_H_ +#define _INIT_SIGNAL_HANDLER_H_ + +void signal_init(void); +void handle_signal(void); +int get_signal_fd(void); + +#endif |
