mirror of https://github.com/vitalif/e2fsprogs
Wrap tune2fs.h to be C++ compatible
Signed-off-by: Theodore Ts'o <tytso@mit.edu>debian
parent
c733f9987e
commit
4ccb2366d8
|
@ -7,7 +7,20 @@
|
|||
* %End-Header%
|
||||
*/
|
||||
|
||||
#ifndef _TUNE2FS_H_
|
||||
#define _TUNE2FS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Takes exactly the same args as the tune2fs exectuable.
|
||||
* Is the entrypoint for libtune2fs.
|
||||
*/
|
||||
int tune2fs_main(int argc, char **argv);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue