From 9207401f9711ba026a70d7dd47347d7eab168b3f Mon Sep 17 00:00:00 2001 From: Hugo Musso Gualandi Date: Sat, 12 Sep 2020 18:25:25 -0300 Subject: Clean up some code duplication in the header files PR htop-dev/htop#70 got rid of the infrastructure for generating header files, but it left behind some code duplication. Some of cases are things that belong in the header file and don't need to be repeated in the C file. Other cases are things that belong in the C file and don't need to be in the header file. In this commit I tried to fix all of these that I could find. When given a choice I preferred keeping things out of the header file, unless they were being used by someone else. --- Vector.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Vector.h') diff --git a/Vector.h b/Vector.h index 32cd809e..209e27cf 100644 --- a/Vector.h +++ b/Vector.h @@ -72,10 +72,6 @@ int Vector_size(Vector* this); #endif -/* - -*/ - void Vector_add(Vector* this, void* data_); int Vector_indexOf(Vector* this, void* search_, Object_Compare compare); -- cgit v1.2.3