From e744eafadce0fb3c878d5e2e8577b521faa4f72f Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 15 Mar 2011 15:44:59 +0100 Subject: Complete function documentation in evemu.h For reasons not likely to become clear again at the moment, only two functions were ever documented, and those were made in the source file where nobody can see it. This patch adds function documentation to all functions in the header file. Signed-off-by: Henrik Rydberg --- src/evemu.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src') diff --git a/src/evemu.c b/src/evemu.c index 988ae7c..df6b250 100644 --- a/src/evemu.c +++ b/src/evemu.c @@ -72,16 +72,6 @@ static void copy_bits(unsigned char *mask, const unsigned long *bits, int bytes) } } -/** - * evemu_new() - allocate a new evemu device - * @name: wanted input device name (or NULL to leave empty) - * - * This function allocates a new evemu device structure and - * initializes all fields to zero. If name is non-null and the length - * is sane, it is copied to the device name. - * - * Returns NULL in case of memory failure. - */ struct evemu_device *evemu_new(const char *name) { struct evemu_device *dev = calloc(1, sizeof(struct evemu_device)); @@ -94,12 +84,6 @@ struct evemu_device *evemu_new(const char *name) return dev; } -/** - * evemu_delete() - free and allocated evemu device - * @dev: the device to free - * - * The device pointer is invalidated by this call. - */ void evemu_delete(struct evemu_device *dev) { free(dev); -- cgit v1.2.3