Skip to content

Commit

Permalink
style comments
Browse files Browse the repository at this point in the history
Signed-off-by: Giampaolo Rodola <[email protected]>
  • Loading branch information
giampaolo committed Oct 20, 2023
1 parent 8d0a043 commit 15904d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions psutil/arch/linux/disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
#include "../../_psutil_common.h"


/*
* Return disk mounted partitions as a list of tuples including device,
* mount point and filesystem type
*/
// Return disk mounted partitions as a list of tuples including device,
// mount point and filesystem type.
PyObject *
psutil_disk_partitions(PyObject *self, PyObject *args) {
FILE *file = NULL;
Expand Down
2 changes: 1 addition & 1 deletion psutil/arch/linux/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
typedef __u16 u16;
typedef __u8 u8;
#endif
/* Avoid redefinition of struct sysinfo with musl libc */
// Avoid redefinition of struct sysinfo with musl libc.
#define _LINUX_SYSINFO_H
#include <linux/ethtool.h>

Expand Down

0 comments on commit 15904d1

Please sign in to comment.