Fix some warnings and typo
Merge request reports
Activity
Filter activity
808 void image_lock(struct image *img) 808 static void image_lock(struct image *img) 809 809 { 810 810 int index = img - images; // cheat, for lack of having actual image management 811 811 refcount[index]++; 812 812 } 813 813 814 void image_unlock(struct image *img) 814 static void image_unlock(struct image *img) 815 815 { 816 816 int index = img - images; 817 817 refcount[index]--; 818 818 } 819 819 820 int main() 820 int main(void)
Please register or sign in to reply