Move version handling to a separate file

This will avoid to include all dependencies headers from main.c.
This commit is contained in:
Romain Vimont
2022-02-08 20:59:38 +01:00
parent 29828aa330
commit 9477594f80
4 changed files with 41 additions and 22 deletions

9
app/src/version.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef SC_VERSION_H
#define SC_VERSION_H
#include "common.h"
void
scrcpy_print_version(void);
#endif