diff options
author | Qball Cow <qball@gmpclient.org> | 2014-05-27 08:42:21 +0200 |
---|---|---|
committer | Qball Cow <qball@gmpclient.org> | 2014-05-27 08:42:21 +0200 |
commit | 3188236121cebe2300b20214a976c27b2dcba768 (patch) | |
tree | 75829d8ae7f7a25074ea3fad64f46457f1d5cd0b /include/history.h | |
parent | 749d3e62232ecd34694c6c3d8fadc1067c929f17 (diff) |
Cleanups
Diffstat (limited to 'include/history.h')
-rw-r--r-- | include/history.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/history.h b/include/history.h index 5a1c87ea..6ea75b8b 100644 --- a/include/history.h +++ b/include/history.h @@ -34,7 +34,8 @@ * Sets the entry in the history, if it exists its use-count is incremented. * */ -void history_set ( const char *filename, const char *entry ); +void history_set ( const char *filename, const char *entry ) + __attribute__((nonnull)); /** @@ -43,7 +44,8 @@ void history_set ( const char *filename, const char *entry ); * * Removes the entry from the history. */ -void history_remove ( const char *filename, const char *entry ); +void history_remove ( const char *filename, const char *entry ) + __attribute__((nonnull)); /** @@ -53,7 +55,8 @@ void history_remove ( const char *filename, const char *entry ); * Gets the entries in the list (in order of usage) * @returns a list of entries length long. (and NULL terminated). */ -char ** history_get_list ( const char *filename, unsigned int * length ); +char ** history_get_list ( const char *filename, unsigned int * length ) + __attribute__((nonnull)); |