summaryrefslogtreecommitdiffstats
path: root/generic/uname.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2021-03-03 10:59:28 +1100
committerNathan Scott <nathans@redhat.com>2021-03-04 13:40:59 +1100
commit61ef1134d97dbcf8b4ee069b36addf3c706ff55c (patch)
tree2cc478d92938b01f1d861350538742df6cea7e9e /generic/uname.h
parent5b50ae3aa3a418f3f84ff2fdb172ab447753814f (diff)
Move generic (shared) code into its own sub-directory
Code that is shared across some (but not all) platforms is moved into a 'generic' home. Makefile.am cleanups to match plus some minor alphabetic reordering/formatting. As discussed in https://github.com/htop-dev/htop/pull/553
Diffstat (limited to 'generic/uname.h')
-rw-r--r--generic/uname.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/generic/uname.h b/generic/uname.h
new file mode 100644
index 00000000..820d0857
--- /dev/null
+++ b/generic/uname.h
@@ -0,0 +1,12 @@
+#ifndef HEADER_uname
+#define HEADER_uname
+/*
+htop - generic/uname.h
+(C) 2021 htop dev team
+Released under the GNU GPLv2, see the COPYING file
+in the source distribution for its full text.
+*/
+
+char* Generic_uname(void);
+
+#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy